diff options
author | David Robillard <d@drobilla.net> | 2011-09-24 06:04:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-24 06:04:49 +0000 |
commit | 1b3c1cdf0b70f6c10538c139819f619346c40753 (patch) | |
tree | 7c3ef12cc2eb595a767e697a8f827f838abacd8b | |
parent | e4a59fd6605639b6f8d60e870866a551592b18b0 (diff) | |
download | ingen-1b3c1cdf0b70f6c10538c139819f619346c40753.tar.gz ingen-1b3c1cdf0b70f6c10538c139819f619346c40753.tar.bz2 ingen-1b3c1cdf0b70f6c10538c139819f619346c40753.zip |
Fix set_property so it doesn't create multiple values in a context.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3492 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/shared/ResourceImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index e6f4ba70..d2b94294 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -50,7 +50,7 @@ ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value, (i != _properties.end()) && (i->first == uri);) { Properties::iterator next = i; ++next; - if (i->second.context() == ctx && i->second == value) { + if (i->second.context() == ctx) { _properties.erase(i); } i = next; |