From 198560d5fd499ab14eb4e130ee74e21fa86674a4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 May 2011 02:57:36 +0000 Subject: Make models const in client code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/Store.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/shared/Store.cpp') diff --git a/src/shared/Store.cpp b/src/shared/Store.cpp index 9d5639b1..62c7f824 100644 --- a/src/shared/Store.cpp +++ b/src/shared/Store.cpp @@ -48,7 +48,7 @@ Store::add(GraphObject* o) } Store::const_iterator -Store::children_begin(SharedPtr o) const +Store::children_begin(SharedPtr o) const { const_iterator parent = find(o->path()); assert(parent != end()); @@ -57,7 +57,7 @@ Store::children_begin(SharedPtr o) const } Store::const_iterator -Store::children_end(SharedPtr o) const +Store::children_end(SharedPtr o) const { const_iterator parent = find(o->path()); assert(parent != end()); @@ -65,7 +65,8 @@ Store::children_end(SharedPtr o) const } SharedPtr -Store::find_child(SharedPtr parent, const string& child_name) const +Store::find_child(SharedPtr parent, + const string& child_name) const { const_iterator pi = find(parent->path()); assert(pi != end()); -- cgit v1.2.1