summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-09 23:22:00 +0000
committerDavid Robillard <d@drobilla.net>2011-10-09 23:22:00 +0000
commit31a08808aa7101907c280916f4d09a1feb82e017 (patch)
tree3e15e1735a2df6ad1568f87d066cffed901537df
parent64d33fe4054c31d2d22e251293058780ec8fbf98 (diff)
downloadingen-31a08808aa7101907c280916f4d09a1feb82e017.tar.gz
ingen-31a08808aa7101907c280916f4d09a1feb82e017.tar.bz2
ingen-31a08808aa7101907c280916f4d09a1feb82e017.zip
Fix erroneous assertion.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3541 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp
index 4f26473f..51ac89af 100644
--- a/src/server/PatchImpl.cpp
+++ b/src/server/PatchImpl.cpp
@@ -431,7 +431,7 @@ PatchImpl::build_ports_array() const
for (Ports::const_iterator p = _outputs.begin(); p != _outputs.end(); ++p,++i)
result->at(i) = *p;
- assert(i == n - 1);
+ assert(i == n);
return result;
}