Skip to content

Commit d0167d8

Browse files
committed
VST3 Client: Silence memcpy warning
1 parent e27183e commit d0167d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/juce_audio_plugin_client/VST3/juce_VST3ModuleInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ class JucePluginFactoryBase : public Steinberg::IPluginFactory3
360360
return Steinberg::kInvalidArgument;
361361
}
362362

363+
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wclass-memaccess")
363364
std::memcpy (info, &(getClassEntry (index).*source), sizeof (*info));
365+
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
364366
return Steinberg::kResultOk;
365367
}
366368

0 commit comments

Comments
 (0)