flatlaf-natives-windows: fixed compile and link errors

This commit is contained in:
Karl Tauber
2022-11-23 21:27:55 +01:00
parent f7be12df67
commit c3adadfe2f
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ public:
HWNDMap::HWNDMap() {
size = 0;
capacity = DEFAULT_CAPACITY;
table = new Entry[capacity];
table = new (FlatLafNoThrow) Entry[capacity];
::InitializeCriticalSection( &criticalSection );