Use parentheses for new T() syntax

MSVC keeps being dumb...
This commit is contained in:
Nekotekina 2019-08-26 00:25:42 +03:00
parent fcbf91b7cb
commit 6811ec562c

View file

@ -26,7 +26,7 @@ namespace stx
// Don't overwrite if already exists // Don't overwrite if already exists
if (!ptr) if (!ptr)
{ {
ptr = new T{}; ptr = new T();
} }
} }
} }