From 1b3c1cdf0b70f6c10538c139819f619346c40753 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Sep 2011 06:04:49 +0000 Subject: 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 --- src/shared/ResourceImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1