mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Replace usage of deprecated type std::aligned_storage_t
This commit is contained in:
parent
95e71b10b0
commit
9ad70308a8
1 changed files with 1 additions and 1 deletions
|
|
@ -4820,7 +4820,7 @@ private:
|
|||
CombineRgn (rgn, rgn, clipRgn, RGN_AND);
|
||||
DeleteObject (clipRgn);
|
||||
|
||||
std::aligned_storage_t<8192, alignof (RGNDATA)> rgnData;
|
||||
alignas (RGNDATA) std::byte rgnData[8192];
|
||||
const DWORD res = GetRegionData (rgn, sizeof (rgnData), (RGNDATA*) &rgnData);
|
||||
|
||||
if (res > 0 && res <= sizeof (rgnData))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue