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 f8e95743908c39f69066da1a6aef44f05c2722bf
parent 9ae5e463ec308f993e16fa51d34c180d64c848bd
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 13 Mar 2022 01:41:36 +0100

make removeComments public to be able to use it in other areas of the code base

Diffstat:
Msource/jucePlugin/VirusParameterDescriptions.cpp | 2+-
Msource/jucePlugin/VirusParameterDescriptions.h | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/source/jucePlugin/VirusParameterDescriptions.cpp b/source/jucePlugin/VirusParameterDescriptions.cpp @@ -13,7 +13,7 @@ namespace Virus LOG(err); } - std::string removeComments(std::string _json) + std::string ParameterDescriptions::removeComments(std::string _json) { auto removeBlock = [&](const std::string& _begin, const std::string& _end) { diff --git a/source/jucePlugin/VirusParameterDescriptions.h b/source/jucePlugin/VirusParameterDescriptions.h @@ -18,6 +18,8 @@ namespace Virus return m_descriptions; } + static std::string removeComments(std::string _json); + private: std::string loadJson(const std::string& _jsonString);