summaryrefslogtreecommitdiffstats
path: root/sord/sordmm.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-28 04:45:59 +0000
committerDavid Robillard <d@drobilla.net>2011-04-28 04:45:59 +0000
commit86e095df809f8d15b54ee62801f3deb829adfae9 (patch)
treea514dd90d72621c315d78ecda973ee7500989d85 /sord/sordmm.hpp
parent688537cf5ccb709c23359eb855946bedd5b65fcf (diff)
downloadsord-86e095df809f8d15b54ee62801f3deb829adfae9.tar.gz
sord-86e095df809f8d15b54ee62801f3deb829adfae9.tar.bz2
sord-86e095df809f8d15b54ee62801f3deb829adfae9.zip
Const-correct node API.
git-svn-id: http://svn.drobilla.net/sord/trunk@98 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r--sord/sordmm.hpp4
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;