1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

VST3 Client: Silence memcpy warning

This commit is contained in:
reuk 2025-09-09 13:50:38 +01:00
parent e27183e044
commit d0167d8e3e

View file

@ -360,7 +360,9 @@ private:
return Steinberg::kInvalidArgument;
}
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wclass-memaccess")
std::memcpy (info, &(getClassEntry (index).*source), sizeof (*info));
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
return Steinberg::kResultOk;
}