diff options
author | David Robillard <d@drobilla.net> | 2012-04-28 04:58:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-28 04:58:37 +0000 |
commit | 50f5747f3877d124014ce6eaba307a6bffddc1c2 (patch) | |
tree | f73fcd06503a38504f3d700653111f836e5a1f63 /src/client/PatchModel.cpp | |
parent | d87914716181bd86a3a68b22d3d0a12902860be0 (diff) | |
download | ingen-50f5747f3877d124014ce6eaba307a6bffddc1c2.tar.gz ingen-50f5747f3877d124014ce6eaba307a6bffddc1c2.tar.bz2 ingen-50f5747f3877d124014ce6eaba307a6bffddc1c2.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4300 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PatchModel.cpp')
-rw-r--r-- | src/client/PatchModel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/PatchModel.cpp b/src/client/PatchModel.cpp index ec949429..2513ca70 100644 --- a/src/client/PatchModel.cpp +++ b/src/client/PatchModel.cpp @@ -55,7 +55,8 @@ PatchModel::remove_child(SharedPtr<ObjectModel> o) // Remove any connections which referred to this object, // since they can't possibly exist anymore - for (Connections::iterator j = _connections->begin(); j != _connections->end(); ) { + for (Connections::iterator j = _connections->begin(); + j != _connections->end();) { Connections::iterator next = j; ++next; @@ -133,7 +134,8 @@ PatchModel::add_connection(SharedPtr<EdgeModel> cm) assert(cm->tail() == existing->tail()); assert(cm->head() == existing->head()); } else { - _connections->insert(make_pair(make_pair(cm->tail().get(), cm->head().get()), cm)); + _connections->insert(make_pair(make_pair(cm->tail().get(), + cm->head().get()), cm)); _signal_new_connection.emit(cm); } } |