aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Controller.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-14 04:05:44 +0000
committerDavid Robillard <d@drobilla.net>2013-01-14 04:05:44 +0000
commit27553e15e188f7a43903a0d3eb95389b0efcd1d6 (patch)
tree9522abf77e723398e29343a1b0fba02a55ad0a1e /src/engine/Controller.cpp
parent7ed3c6d49beb48d7e5fdf4eb3c41eb78524a638a (diff)
downloadmachina-27553e15e188f7a43903a0d3eb95389b0efcd1d6.tar.gz
machina-27553e15e188f7a43903a0d3eb95389b0efcd1d6.tar.bz2
machina-27553e15e188f7a43903a0d3eb95389b0efcd1d6.zip
Fix deletion of nodes and edges.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4981 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Controller.cpp')
-rw-r--r--src/engine/Controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Controller.cpp b/src/engine/Controller.cpp
index 7d9017e..00ad9f9 100644
--- a/src/engine/Controller.cpp
+++ b/src/engine/Controller.cpp
@@ -188,7 +188,7 @@ void
Controller::erase(uint64_t id)
{
SPtr<StatefulKey> key(new StatefulKey(id));
- Objects::iterator i = _objects.find(key);
+ Objects::iterator i = _objects.find(key);
if (i == _objects.end()) {
return;
}