summaryrefslogtreecommitdiffstats
path: root/src/libs/shared/ClashAvoider.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 01:41:42 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 01:41:42 +0000
commit1b8f06504a155e75a9419dfa5c9bf9df1866e01d (patch)
tree8e9ce0ddaee84c76af66b2fa58cd41f73d8434eb /src/libs/shared/ClashAvoider.cpp
parenta7e39b85d7c35ec44c613e593c57ff27de0d06bc (diff)
downloadingen-1b8f06504a155e75a9419dfa5c9bf9df1866e01d.tar.gz
ingen-1b8f06504a155e75a9419dfa5c9bf9df1866e01d.tar.bz2
ingen-1b8f06504a155e75a9419dfa5c9bf9df1866e01d.zip
Factor out destroy (and object_destroyed) to common interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@1443 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/shared/ClashAvoider.cpp')
-rw-r--r--src/libs/shared/ClashAvoider.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libs/shared/ClashAvoider.cpp b/src/libs/shared/ClashAvoider.cpp
index de4fb4c9..d5d1d245 100644
--- a/src/libs/shared/ClashAvoider.cpp
+++ b/src/libs/shared/ClashAvoider.cpp
@@ -203,5 +203,12 @@ ClashAvoider::set_voice_value(const std::string& port_path,
}
+void
+ClashAvoider::destroy(const std::string& path)
+{
+ _target.destroy(map_path(path));
+}
+
+
} // namespace Shared
} // namespace Ingen