From 76466bde179e9b0d58b1586fb3f4ed40dedbdc13 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Aug 2008 06:26:24 +0000 Subject: Fix loading / importing patches at root and in subpatches. git-svn-id: http://svn.drobilla.net/lad/ingen@1430 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/shared/ClashAvoider.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libs/shared/ClashAvoider.hpp') diff --git a/src/libs/shared/ClashAvoider.hpp b/src/libs/shared/ClashAvoider.hpp index f70e839a..3c8a1c9f 100644 --- a/src/libs/shared/ClashAvoider.hpp +++ b/src/libs/shared/ClashAvoider.hpp @@ -39,6 +39,8 @@ class ClashAvoider : public CommonInterface public: ClashAvoider(Store& store, const Raul::Path& prefix, CommonInterface& target) : _prefix(prefix), _store(store), _target(target) {} + + void set_target(CommonInterface& target) { _target = target; } // Bundles void bundle_begin() { _target.bundle_begin(); } @@ -79,7 +81,7 @@ public: const Raul::Atom& value); private: - const Raul::Path& map_path(const Raul::Path& in); + const Raul::Path map_path(const Raul::Path& in); const Raul::Path& _prefix; Store& _store; -- cgit v1.2.1