mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3 Client: Silence memcpy warning
This commit is contained in:
parent
e27183e044
commit
d0167d8e3e
1 changed files with 2 additions and 0 deletions
|
|
@ -360,7 +360,9 @@ private:
|
||||||
return Steinberg::kInvalidArgument;
|
return Steinberg::kInvalidArgument;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wclass-memaccess")
|
||||||
std::memcpy (info, &(getClassEntry (index).*source), sizeof (*info));
|
std::memcpy (info, &(getClassEntry (index).*source), sizeof (*info));
|
||||||
|
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||||
return Steinberg::kResultOk;
|
return Steinberg::kResultOk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue