From 4675e82dae45a70ee27bf11d10aa6872485c8847 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Oct 2007 02:57:21 +0000 Subject: Eliminate redundant object collections (ObjectModel having a separate collection of its children). Fix renaming/creation of children (fix ticket 97). git-svn-id: http://svn.drobilla.net/lad/ingen@844 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/Serializer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/client/Serializer.cpp') diff --git a/src/libs/client/Serializer.cpp b/src/libs/client/Serializer.cpp index a8683d00..e37391d7 100644 --- a/src/libs/client/Serializer.cpp +++ b/src/libs/client/Serializer.cpp @@ -39,6 +39,7 @@ #include "interface/Connection.hpp" #include "PatchModel.hpp" #include "Serializer.hpp" +#include "Store.hpp" using namespace std; using namespace Raul; @@ -291,7 +292,7 @@ Serializer::serialize_patch(SharedPtr patch) } } - for (ObjectModel::Children::const_iterator n = patch->children().begin(); n != patch->children().end(); ++n) { + for (Store::Objects::const_iterator n = patch->children_begin(); n != patch->children_end(); ++n) { SharedPtr patch = PtrCast(n->second); SharedPtr node = PtrCast(n->second); if (patch) { -- cgit v1.2.1