From 901016e2da2e43b833962c9ba30e41c3e992dfa8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 18 Jul 2023 05:20:16 +0000 Subject: [PATCH] Apply clang-format --- src/gui/pedalboard/BoardComponent.cpp | 2 +- src/pch.h | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) 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;