summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-31 00:37:01 +0000
committerDavid Robillard <d@drobilla.net>2012-07-31 00:37:01 +0000
commit88f9a3bf23fc629385978633a8764d74788e1fdc (patch)
tree7bdc812f3bbe0c98d2c138fd1cbd0030999060f6 /src/server/events
parent629fb50716083c71146340de97eb8651679ca9fb (diff)
downloadingen-88f9a3bf23fc629385978633a8764d74788e1fdc.tar.gz
ingen-88f9a3bf23fc629385978633a8764d74788e1fdc.tar.bz2
ingen-88f9a3bf23fc629385978633a8764d74788e1fdc.zip
Clean up Resource.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4580 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Delta.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp
index a497bb37..6892ccbc 100644
--- a/src/server/events/Delta.cpp
+++ b/src/server/events/Delta.cpp
@@ -67,7 +67,11 @@ Delta::Delta(Engine& engine,
, _create(create)
{
if (context != Resource::DEFAULT) {
- Resource::set_context(_properties, context);
+ for (Properties::iterator i = _properties.begin();
+ i != _properties.end();
+ ++i) {
+ i->second.set_context(context);
+ }
}
#ifdef DUMP