Compile fix for MSVC 17.3

This commit is contained in:
Alexander Bock
2022-08-22 14:17:04 +02:00
parent 160eab1c1e
commit 9ea284f6c6

View File

@@ -138,7 +138,7 @@ void create() {
#endif // WIN32
#ifdef WIN32
keyboard = new (currentPos) std::vector<KeyboardCallback>
keyboard = new (currentPos) std::vector<KeyboardCallback>();
ghoul_assert(keyboard, "No keyboard");
currentPos += sizeof(std::vector<KeyboardCallback>);
#else // ^^^ WIN32 / !WIN32 vvv