DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit acbf535cff5d57b4a9cf8e0fab2f6dc608dcadce
parent 4c5da3f95469a26a4aa93c10798546fcafb2a58d
Author: falkTX <falktx@falktx.com>
Date:   Fri, 23 Aug 2019 17:28:34 +0100

Fix build with custom prefix

Diffstat:
Mdistrho/src/DistrhoPluginLV2export.cpp | 2+-
Mexamples/Meters/ExampleUIMeters.cpp | 5-----
Mexamples/Parameters/ExampleUIParameters.cpp | 5-----
3 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp @@ -160,7 +160,7 @@ static const char* const lv2ManifestUiSupportedOptions[] = }; #endif // DISTRHO_PLUGIN_HAS_UI -static void addAttribute(DISTRHO::String& text, +static void addAttribute(DISTRHO_NAMESPACE::String& text, const char* const attribute, const char* const values[], const uint indent, diff --git a/examples/Meters/ExampleUIMeters.cpp b/examples/Meters/ExampleUIMeters.cpp @@ -19,11 +19,6 @@ START_NAMESPACE_DISTRHO /** - We need the Color class from DGL. - */ -using DGL::Color; - -/** Smooth meters a bit. */ static const float kSmoothMultiplier = 3.0f; diff --git a/examples/Parameters/ExampleUIParameters.cpp b/examples/Parameters/ExampleUIParameters.cpp @@ -18,11 +18,6 @@ START_NAMESPACE_DISTRHO -/** - We need the rectangle class from DGL. - */ -using DGL::Rectangle; - // ----------------------------------------------------------------------------------------------------------- class ExampleUIParameters : public UI