commit 59ce7475089e7cd7167204c5bf68829ded7c1e84 parent 7a4a5a2635304d1bca80d02c8cb83aa119f94521 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sun, 14 Jul 2024 18:30:54 +0200 fix linux compile error Diffstat:
M | source/jucePluginEditorLib/patchmanager/grid.cpp | | | 2 | ++ |
M | source/jucePluginEditorLib/patchmanager/grid.h | | | 6 | ++++++ |
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/source/jucePluginEditorLib/patchmanager/grid.cpp b/source/jucePluginEditorLib/patchmanager/grid.cpp @@ -27,6 +27,8 @@ namespace jucePluginEditorLib::patchManager setWantsKeyboardFocus(true); } + Grid::~Grid() = default; + void Grid::paint(juce::Graphics& g) { if(const auto c = findColor(juce::ListBox::backgroundColourId); c.getAlpha() > 0) diff --git a/source/jucePluginEditorLib/patchmanager/grid.h b/source/jucePluginEditorLib/patchmanager/grid.h @@ -16,6 +16,12 @@ namespace jucePluginEditorLib::patchManager static constexpr uint32_t InvalidItem = ~0; Grid(PatchManager& _pm); + ~Grid() override; + + Grid(Grid&&) = delete; + Grid(const Grid&) = delete; + Grid& operator = (Grid&&) = delete; + Grid& operator = (const Grid&) = delete; void paint(juce::Graphics& g) override;