diff options
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r-- | sord/sordmm.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 294f38f..dc80cb3 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -149,7 +149,7 @@ public: inline Node(World& world, Type t, const std::string& s); inline Node(World& world); - inline Node(World& world, SordNode* node); + inline Node(World& world, const SordNode* node); inline Node(const Node& other); inline ~Node(); @@ -269,7 +269,7 @@ Node::Node(World& world) } inline -Node::Node(World& world, SordNode* node) +Node::Node(World& world, const SordNode* node) : _world(&world) { _c_obj = node ? sord_node_copy(node) : NULL; |