From f8ab9635a6985e36b596333cff8d4e62a6468a8a Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Sun, 17 Nov 2024 09:52:17 +0100 Subject: [PATCH] Fixed MSVC compiler errors 11/17/2024 | 24w46a4 --- UnitTests/src/Events/ControllerEvent.cpp | 1 + UnitTests/src/Events/EventDispatcher.cpp | 1 + UnitTests/src/Events/KeyEvent.cpp | 1 + UnitTests/src/Events/MouseEvent.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/UnitTests/src/Events/ControllerEvent.cpp b/UnitTests/src/Events/ControllerEvent.cpp index 6d4667728..6d7a4ecf0 100644 --- a/UnitTests/src/Events/ControllerEvent.cpp +++ b/UnitTests/src/Events/ControllerEvent.cpp @@ -1,5 +1,6 @@ #include +#include "TRAP/src/Utils/Win.h" #include "TRAP/src/Events/ControllerEvent.h" TEST_CASE("TRAP::Events::ControllerConnectEvent", "[events][controllerconnectevent]") diff --git a/UnitTests/src/Events/EventDispatcher.cpp b/UnitTests/src/Events/EventDispatcher.cpp index 274127ef8..85f9270e3 100644 --- a/UnitTests/src/Events/EventDispatcher.cpp +++ b/UnitTests/src/Events/EventDispatcher.cpp @@ -1,5 +1,6 @@ #include +#include "TRAP/src/Utils/Win.h" #include "TRAP/src/Events/ControllerEvent.h" #include "TRAP/src/Events/Event.h" diff --git a/UnitTests/src/Events/KeyEvent.cpp b/UnitTests/src/Events/KeyEvent.cpp index 363f687b5..991836809 100644 --- a/UnitTests/src/Events/KeyEvent.cpp +++ b/UnitTests/src/Events/KeyEvent.cpp @@ -1,5 +1,6 @@ #include +#include "TRAP/src/Utils/Win.h" #include "TRAP/src/Events/KeyEvent.h" TEST_CASE("TRAP::Events::KeyPressEvent", "[events][keypressevent]") diff --git a/UnitTests/src/Events/MouseEvent.cpp b/UnitTests/src/Events/MouseEvent.cpp index 315befab9..589c794d6 100644 --- a/UnitTests/src/Events/MouseEvent.cpp +++ b/UnitTests/src/Events/MouseEvent.cpp @@ -1,5 +1,6 @@ #include +#include "TRAP/src/Utils/Win.h" #include "TRAP/src/Events/MouseEvent.h" TEST_CASE("TRAP::Events::MouseMoveEvent", "[events][mousemoveevent]")