From 70a6000884a1cd3d388556da00bd7406c052c9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 12 Aug 2023 19:43:22 +0200 Subject: [PATCH] clean up imports --- include/download.h | 7 ++++--- include/game_state.h | 15 +++++++-------- include/game_state.hpp | 4 +--- src/download.cpp | 4 +++- src/main.cpp | 9 +-------- 5 files changed, 16 insertions(+), 23 deletions(-) diff --git a/include/download.h b/include/download.h index 285790e..cd5aa62 100644 --- a/include/download.h +++ b/include/download.h @@ -1,11 +1,12 @@ #ifndef DYNAMIC_PROGRAM_DOWNLOAD_H #define DYNAMIC_PROGRAM_DOWNLOAD_H -#include -#include #include -#include #include +#include +#include + +#include #include "game_state.h" #include "myassert.h" diff --git a/include/game_state.h b/include/game_state.h index e379f15..1c5fa0f 100644 --- a/include/game_state.h +++ b/include/game_state.h @@ -2,18 +2,17 @@ #define DYNAMIC_PROGRAM_GAME_STATE_H #include -#include -#include -#include -#include -#include #include -#include +#include #include -#include -#include #include +#include #include +#include +#include +#include + +#include #include diff --git a/include/game_state.hpp b/include/game_state.hpp index 00bceb7..0bac7f7 100644 --- a/include/game_state.hpp +++ b/include/game_state.hpp @@ -1,9 +1,7 @@ #include -#include + #include "myassert.h" #include "game_state.h" -#include -#include namespace Hanabi { diff --git a/src/download.cpp b/src/download.cpp index cbb7e76..8ffe0a8 100644 --- a/src/download.cpp +++ b/src/download.cpp @@ -1,5 +1,7 @@ -#include "download.h" #include +#include + +#include "download.h" // This helper function deduces the type and assigns the value with the matching key diff --git a/src/main.cpp b/src/main.cpp index ee9a624..75391b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,16 +1,9 @@ -// -// Created by maximilian on 7/13/23. -// - -#include -#include #include -#include #include +#include #include "game_state.h" #include "download.h" -#include "myassert.h" #include "cli_interface.h"