Skip to content

Commit 3ecef8b

Browse files
committed
fix: format all files
1 parent d9c0947 commit 3ecef8b

File tree

23 files changed

+35
-42
lines changed

23 files changed

+35
-42
lines changed

src/discord/core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include "./core.hpp"
55

6-
#include <fmt/format.h>
76
#include <core/helper/spdlog_wrapper.hpp>
7+
#include <fmt/format.h>
88

99
[[nodiscard]] std::string constants::discord ::get_asset_key(constants::discord::ArtAsset asset) {
1010

src/executables/game/application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#include "ui/layout.hpp"
1212

1313

14+
#include <core/helper/spdlog_wrapper.hpp>
1415
#include <fmt/chrono.h>
1516
#include <memory>
1617
#include <ranges>
1718
#include <stdexcept>
18-
#include <core/helper/spdlog_wrapper.hpp>
1919

2020
#if defined(__CONSOLE__)
2121
#include "helper/console_helpers.hpp"

src/executables/game/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
#pragma warning(disable : 4251)
3535
#endif
3636

37-
#include <spdlog/spdlog.h>
3837
#include <spdlog/sinks/basic_file_sink.h>
3938
#include <spdlog/sinks/rotating_file_sink.h>
4039
#include <spdlog/sinks/stdout_sinks.h>
40+
#include <spdlog/spdlog.h>
4141

4242
#if defined(_MSC_VER)
4343
#pragma warning(default : 4275)

src/game/game.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include <core/helper/magic_enum_wrapper.hpp>
3-
#include <core/helper/utils.hpp>
43
#include <core/helper/spdlog_wrapper.hpp>
4+
#include <core/helper/utils.hpp>
55

66
#include "game.hpp"
77
#include "input/replay_input.hpp"

src/helper/graphic_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include "graphic_utils.hpp"
3-
#include <exception>
43
#include <core/helper/spdlog_wrapper.hpp>
4+
#include <exception>
55

66
#if defined(__EMSCRIPTEN__)
77
#include <emscripten.h>

src/helper/message_box.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ namespace helper {
3333
#ifdef MessageBox
3434
#undef MessageBox
3535
#endif
36-
// this is to fix include order, if we include windows.h after this, it also works
37-
using MessageBoxA = MessageBox;
36+
// this is to fix include order, if we include windows.h after this, it also works
37+
using MessageBoxA = MessageBox;
3838
#endif
3939

4040

src/helper/platform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
#include <SDL.h>
1212
#include <cerrno>
13+
#include <core/helper/spdlog_wrapper.hpp>
1314
#include <cstdlib>
1415
#include <cstring>
15-
#include <core/helper/spdlog_wrapper.hpp>
1616

1717
namespace {
1818

src/helper/web_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
#include "manager/service_provider.hpp"
1515

16+
#include <core/helper/spdlog_wrapper.hpp>
1617
#include <optional>
1718
#include <spdlog/sinks/callback_sink.h>
18-
#include <core/helper/spdlog_wrapper.hpp>
1919
#include <string>
2020
#include <thread>
2121

src/input/input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#include "touch_input.hpp"
1111

1212
#include <cassert>
13+
#include <core/helper/spdlog_wrapper.hpp>
1314
#include <limits>
1415
#include <memory>
15-
#include <core/helper/spdlog_wrapper.hpp>
1616
#include <stdexcept>
1717
#include <string>
1818

src/input/input_creator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include "input/replay_input.hpp"
1313
#include "input_creator.hpp"
1414

15-
#include <fmt/format.h>
1615
#include <core/helper/spdlog_wrapper.hpp>
16+
#include <fmt/format.h>
1717
#include <stdexcept>
1818

1919
namespace {

0 commit comments

Comments
 (0)