diff --git a/.gitmodules b/.gitmodules index 2fb1794..95ff892 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "modules/choc"] path = modules/choc url = https://github.com/SLM-Audio/choc.git +[submodule "modules/clap-helpers"] + path = modules/clap-helpers + url = https://github.com/free-audio/clap-helpers.git diff --git a/cmake/mostlyharmless_BinaryData.cpp b/cmake/mostlyharmless_BinaryData.cpp index 35e4bca..b285977 100644 --- a/cmake/mostlyharmless_BinaryData.cpp +++ b/cmake/mostlyharmless_BinaryData.cpp @@ -12,7 +12,7 @@ namespace mostly_harmless::@ARG_TARGET_NAME@ { const auto size = data.end() - data.begin(); BinaryResource res{ .data = data.begin(), .size = static_cast(size) }; return res; - } catch(std::system_error& e) { + } catch(std::system_error& /*e*/) { return {}; } } diff --git a/modules/clap-helpers b/modules/clap-helpers new file mode 160000 index 0000000..b895ea2 --- /dev/null +++ b/modules/clap-helpers @@ -0,0 +1 @@ +Subproject commit b895ea2db10db7146ebba08d3dafeb2800d165e9