summaryrefslogtreecommitdiffstats
path: root/src/server/internals/Note.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
commit1d9bb9768f8a7d0c76fa33688051cd8f2715075d (patch)
tree45aa6f6235fb6d2c4227081eeb7c938db255aab5 /src/server/internals/Note.cpp
parenta53738e05b296b4ab4e0b701ea37d60013a42605 (diff)
downloadingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.gz
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.bz2
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.zip
Use compiler checkable ProcessContext parameter rather than runtime context assertions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4374 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/internals/Note.cpp')
-rw-r--r--src/server/internals/Note.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index 9e7fbb04..e131fb69 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -116,9 +116,9 @@ NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly)
}
bool
-NoteNode::apply_poly(Raul::Maid& maid, uint32_t poly)
+NoteNode::apply_poly(ProcessContext& context, Raul::Maid& maid, uint32_t poly)
{
- if (!NodeImpl::apply_poly(maid, poly))
+ if (!NodeImpl::apply_poly(context, maid, poly))
return false;
if (_prepared_voices) {