From 9ea284f6c6ebce8ae7fc93f60aade66822651b29 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Mon, 22 Aug 2022 14:17:04 +0200 Subject: [PATCH] Compile fix for MSVC 17.3 --- src/engine/globalscallbacks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/globalscallbacks.cpp b/src/engine/globalscallbacks.cpp index f04aacff05..e7e871e42b 100644 --- a/src/engine/globalscallbacks.cpp +++ b/src/engine/globalscallbacks.cpp @@ -138,7 +138,7 @@ void create() { #endif // WIN32 #ifdef WIN32 - keyboard = new (currentPos) std::vector + keyboard = new (currentPos) std::vector(); ghoul_assert(keyboard, "No keyboard"); currentPos += sizeof(std::vector); #else // ^^^ WIN32 / !WIN32 vvv