diff options
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r-- | src/gui/ThreadedLoader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index 7a7a3ede..31f77893 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -101,7 +101,8 @@ ThreadedLoader::load_patch(bool merge, } void -ThreadedLoader::save_patch(SharedPtr<PatchModel> model, const string& filename) +ThreadedLoader::save_patch(SharedPtr<const PatchModel> model, + const string& filename) { _mutex.lock(); @@ -115,7 +116,8 @@ ThreadedLoader::save_patch(SharedPtr<PatchModel> model, const string& filename) } void -ThreadedLoader::save_patch_event(SharedPtr<PatchModel> model, const string& filename) +ThreadedLoader::save_patch_event(SharedPtr<const PatchModel> model, + const string& filename) { if (App::instance().serialiser()) { if (filename.find(INGEN_BUNDLE_EXT) != string::npos) |