summaryrefslogtreecommitdiffstats
path: root/src/libs/client/Serializer.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 02:57:21 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 02:57:21 +0000
commit4675e82dae45a70ee27bf11d10aa6872485c8847 (patch)
tree24210667e721d400a552ad2621e9a5cfe447395c /src/libs/client/Serializer.cpp
parent9d9efa215c52a6b75eef7e9a8b088b11dfd76a07 (diff)
downloadingen-4675e82dae45a70ee27bf11d10aa6872485c8847.tar.gz
ingen-4675e82dae45a70ee27bf11d10aa6872485c8847.tar.bz2
ingen-4675e82dae45a70ee27bf11d10aa6872485c8847.zip
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
Diffstat (limited to 'src/libs/client/Serializer.cpp')
-rw-r--r--src/libs/client/Serializer.cpp3
1 files changed, 2 insertions, 1 deletions
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<PatchModel> 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<PatchModel> patch = PtrCast<PatchModel>(n->second);
SharedPtr<NodeModel> node = PtrCast<NodeModel>(n->second);
if (patch) {