gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 9aafaafe7d8bce976b4506269ba4d70876025311
parent ef88594177210a257767786860d6fed107063dfe
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 30 Apr 2024 18:56:01 +0200

fix more deduction failures for gcc 7.5

Diffstat:
Msource/jucePluginEditorLib/patchmanager/datasourcetreeitem.cpp | 2+-
Msource/jucePluginEditorLib/patchmanager/list.cpp | 4++--
Msource/virusJucePlugin/PatchManager.cpp | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/jucePluginEditorLib/patchmanager/datasourcetreeitem.cpp b/source/jucePluginEditorLib/patchmanager/datasourcetreeitem.cpp @@ -152,7 +152,7 @@ namespace jucePluginEditorLib::patchManager const auto s = getPatchManager().getSearch(getSearchHandle()); if(s) { - std::vector patches(s->results.begin(), s->results.end()); + std::vector<pluginLib::patchDB::PatchPtr> patches(s->results.begin(), s->results.end()); getPatchManager().exportPresets(std::move(patches), _fileType); } })); diff --git a/source/jucePluginEditorLib/patchmanager/list.cpp b/source/jucePluginEditorLib/patchmanager/list.cpp @@ -170,7 +170,7 @@ namespace jucePluginEditorLib::patchManager { menu.addItem("Remove selected", [this, s = std::move(selectedPatches)] { - const std::vector patches(s.begin(), s.end()); + const std::vector<pluginLib::patchDB::PatchPtr> patches(s.begin(), s.end()); pluginLib::patchDB::TypedTags removeTags; // converted "added" tags to "removed" tags @@ -193,7 +193,7 @@ namespace jucePluginEditorLib::patchManager { if(showDeleteConfirmationMessageBox()) { - const std::vector patches(s.begin(), s.end()); + const std::vector<pluginLib::patchDB::PatchPtr> patches(s.begin(), s.end()); m_patchManager.removePatches(m_search->request.sourceNode, patches); } }); diff --git a/source/virusJucePlugin/PatchManager.cpp b/source/virusJucePlugin/PatchManager.cpp @@ -289,7 +289,7 @@ namespace genericVirusUI while(addr + 0x100 <= static_cast<ptrdiff_t>(data.size())) { - std::vector chunk(data.begin() + addr, data.begin() + addr + 0x100); + std::vector<uint8_t> chunk(data.begin() + addr, data.begin() + addr + 0x100); // validate // const auto idxH = chunk[2];