From 74c76bd82792b03bd12f30aa875fae3e5047ccc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Apr 2011 21:27:38 +0000 Subject: Remove EngineInterface::quit(). Use del("ingen:engine") instead. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3172 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/ClashAvoider.cpp | 5 +++-- src/shared/ClashAvoider.hpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/shared') diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index 19a8f15d..10a26934 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -187,9 +187,10 @@ ClashAvoider::set_property(const Raul::URI& subject, } void -ClashAvoider::del(const Raul::Path& path) +ClashAvoider::del(const Raul::URI& uri) { - _target.del(map_path(path)); + if (Raul::Path::is_path(uri)) + _target.del(map_path(Raul::Path(uri.str()))); } } // namespace Shared diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp index 13eb1007..3cd5c8ba 100644 --- a/src/shared/ClashAvoider.hpp +++ b/src/shared/ClashAvoider.hpp @@ -68,7 +68,7 @@ public: const Raul::URI& predicate, const Raul::Atom& value); - virtual void del(const Raul::Path& path); + virtual void del(const Raul::URI& uri); private: const Raul::URI map_uri(const Raul::URI& in); -- cgit v1.2.1