mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Skip troublesome static_assert in AudioBuffer when building with the live-build engine
This commit is contained in:
parent
5fe53862ae
commit
16ebe88346
1 changed files with 1 additions and 1 deletions
|
|
@ -1122,7 +1122,7 @@ private:
|
|||
|
||||
void allocateData()
|
||||
{
|
||||
#if (! JUCE_GCC) || (__GNUC__ * 100 + __GNUC_MINOR__) >= 409
|
||||
#if ! JUCE_PROJUCER_LIVE_BUILD && (! JUCE_GCC || (__GNUC__ * 100 + __GNUC_MINOR__) >= 409)
|
||||
static_assert (alignof (Type) <= detail::maxAlignment,
|
||||
"AudioBuffer cannot hold types with alignment requirements larger than that guaranteed by malloc");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue