From 2d955bbdd747b5abfc7473fa9bf6140a883e9d17 Mon Sep 17 00:00:00 2001 From: Totto16 Date: Thu, 3 Oct 2024 23:20:40 +0200 Subject: [PATCH] header: change a few wrong header includes always include relative files in the same directory with "./" always include core or similar libraries with <> --- src/discord/core.cpp | 2 +- src/game/simulation.cpp | 2 +- src/game/simulation.hpp | 2 +- tests/utils/helper.hpp | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/discord/core.cpp b/src/discord/core.cpp index 72dcd3b4..217f24e4 100644 --- a/src/discord/core.cpp +++ b/src/discord/core.cpp @@ -2,7 +2,7 @@ #include #include -#include "core.hpp" +#include "./core.hpp" #include #include diff --git a/src/game/simulation.cpp b/src/game/simulation.cpp index 548424a2..13f471d6 100644 --- a/src/game/simulation.cpp +++ b/src/game/simulation.cpp @@ -1,8 +1,8 @@ +#include #include #include -#include "core/helper/expected.hpp" #include "input/replay_input.hpp" #include "simulation.hpp" diff --git a/src/game/simulation.hpp b/src/game/simulation.hpp index c1515718..e110d2a7 100644 --- a/src/game/simulation.hpp +++ b/src/game/simulation.hpp @@ -1,8 +1,8 @@ #pragma once +#include #include -#include "core/helper/expected.hpp" #include "helper/windows.hpp" #include "input/input_creator.hpp" #include "input/replay_input.hpp" diff --git a/tests/utils/helper.hpp b/tests/utils/helper.hpp index 73645078..d21dbf8e 100644 --- a/tests/utils/helper.hpp +++ b/tests/utils/helper.hpp @@ -2,7 +2,8 @@ #pragma once -#include "core/helper/utils.hpp" +#include + #include "printer.hpp" #include