diff options
Diffstat (limited to 'project2/ut/testScriptNode.h')
-rw-r--r-- | project2/ut/testScriptNode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/ut/testScriptNode.h b/project2/ut/testScriptNode.h index bfa8bb2..1425c14 100644 --- a/project2/ut/testScriptNode.h +++ b/project2/ut/testScriptNode.h @@ -17,8 +17,8 @@ class DLL_PUBLIC TestScriptNode : public ScriptNode { ScriptNodes childrenIn(const Glib::ustring & sub) const; bool valueExists(const Glib::ustring & name) const; bool applyValue(const Glib::ustring & name, VariableType & target, ExecContext *) const; - VariableImpl * variable(const boost::optional<Glib::ustring> & defaultSource = boost::optional<Glib::ustring>()) const; - VariableImpl * variable(const Glib::ustring & name) const; + std::shared_ptr<VariableImpl> variable(const boost::optional<Glib::ustring> & defaultSource = boost::optional<Glib::ustring>()) const; + std::shared_ptr<VariableImpl> variable(const Glib::ustring & name) const; void composeWithCallbacks(const LiteralCallback &, const NodeCallback &) const; private: |