Use parentheses for new T() syntax
MSVC keeps being dumb...
This commit is contained in:
@@ -26,7 +26,7 @@ namespace stx
|
||||
// Don't overwrite if already exists
|
||||
if (!ptr)
|
||||
{
|
||||
ptr = new T{};
|
||||
ptr = new T();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user