diff options
author | David Robillard <d@drobilla.net> | 2008-08-18 06:26:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-18 06:26:24 +0000 |
commit | 76466bde179e9b0d58b1586fb3f4ed40dedbdc13 (patch) | |
tree | dff00bee8eed5787d7cb0466a539acd853423293 /src/libs/shared/ClashAvoider.hpp | |
parent | 640cbadb284544ecc876ae650c1c945c57adcce8 (diff) | |
download | ingen-76466bde179e9b0d58b1586fb3f4ed40dedbdc13.tar.gz ingen-76466bde179e9b0d58b1586fb3f4ed40dedbdc13.tar.bz2 ingen-76466bde179e9b0d58b1586fb3f4ed40dedbdc13.zip |
Fix loading / importing patches at root and in subpatches.
git-svn-id: http://svn.drobilla.net/lad/ingen@1430 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/shared/ClashAvoider.hpp')
-rw-r--r-- | src/libs/shared/ClashAvoider.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; |