From e1f855ae6d741c0f89ba477bfb346621384a6c9f Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Sat, 26 Jun 2021 07:21:09 +0100 Subject: [PATCH] Fix a compiler warning in ReaperEmbeddedViewDemo --- examples/Plugins/ReaperEmbeddedViewPluginDemo.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/Plugins/ReaperEmbeddedViewPluginDemo.h b/examples/Plugins/ReaperEmbeddedViewPluginDemo.h index f83469aa45..d5c3882a6b 100644 --- a/examples/Plugins/ReaperEmbeddedViewPluginDemo.h +++ b/examples/Plugins/ReaperEmbeddedViewPluginDemo.h @@ -105,6 +105,8 @@ struct EmbeddedViewListener Steinberg::TPtrInt parm3) = 0; }; +JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnon-virtual-dtor") + //============================================================================== class EmbeddedUI : public reaper::IReaperUIEmbedInterface { @@ -138,6 +140,8 @@ private: std::atomic refCount { 1 }; }; +JUCE_END_IGNORE_WARNINGS_GCC_LIKE + //============================================================================== class Editor : public AudioProcessorEditor {