diff --git a/src/gui/pedalboard/BoardComponent.cpp b/src/gui/pedalboard/BoardComponent.cpp index ac89bcb9..13fdb8e5 100644 --- a/src/gui/pedalboard/BoardComponent.cpp +++ b/src/gui/pedalboard/BoardComponent.cpp @@ -16,7 +16,7 @@ constexpr int getScaleDim (int dim, float scaleFactor) juce::Point getRandomPosition (const Component& comp) { - auto b = comp.getLocalBounds()\ + auto b = comp.getLocalBounds() .withWidth (comp.getWidth() * 2 / 3) .withHeight (comp.getHeight() * 2 / 3); diff --git a/src/pch.h b/src/pch.h index 60bac89f..e3b0383b 100644 --- a/src/pch.h +++ b/src/pch.h @@ -17,8 +17,8 @@ // Any other widely used headers that don't change... #include -JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE("-Wzero-as-null-pointer-constant", - "-Wsign-conversion") +JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wzero-as-null-pointer-constant", + "-Wsign-conversion") #include JUCE_END_IGNORE_WARNINGS_GCC_LIKE @@ -26,12 +26,11 @@ JUCE_END_IGNORE_WARNINGS_GCC_LIKE #include #include -JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE("-Wzero-as-null-pointer-constant", - "-Wsign-conversion") +JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wzero-as-null-pointer-constant", + "-Wsign-conversion") #include JUCE_END_IGNORE_WARNINGS_GCC_LIKE - // global definitions using Parameters = std::vector>; using ParamLayout = AudioProcessorValueTreeState::ParameterLayout;