Skip to content

Commit

Permalink
Use core/format.hpp for fmt includes
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Jul 20, 2023
1 parent 40faaa4 commit 508f871
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/3rdparty/squirrel/squirrel/squtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef _SQUTILS_H_
#define _SQUTILS_H_

#include "../../fmt/format.h"
#include "../../../core/format.hpp"
#include "../../../script/script_fatalerror.hpp"
#include <type_traits>

Expand Down
2 changes: 1 addition & 1 deletion src/ai/ai_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "../debug.h"
#include "../string_func.h"
#include "../rev.h"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"
#include <set>

#include "../safeguards.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ai/ai_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "../script/api/script_object.hpp"
#include "ai_info.hpp"
#include "ai_scanner.hpp"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down
3 changes: 1 addition & 2 deletions src/game/game_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#include "../script/squirrel_class.hpp"
#include "game_info.hpp"
#include "game_scanner.hpp"

#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/network/network_chat_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "network.h"
#include "network_client.h"
#include "network_base.h"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../widgets/network_chat_widget.h"

Expand Down
2 changes: 1 addition & 1 deletion src/os/macosx/survey_osx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "../../stdafx.h"

#include "../../3rdparty/fmt/format.h"
#include "../../core/format.hpp"
#include "macos.h"

#include <mach-o/arch.h>
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/survey_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "../../stdafx.h"

#include "../../3rdparty/fmt/format.h"
#include "../../core/format.hpp"

#include <nlohmann/json.hpp>
#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion src/script/api/script_admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "../../network/network_admin.h"
#include "../script_instance.hpp"
#include "../../string_func.h"
#include "../../3rdparty/fmt/format.h"
#include "../../core/format.hpp"

#include "../../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/api/script_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "../script_gui.h"
#include "../../settings_type.h"
#include "../../network/network.h"
#include "../../3rdparty/fmt/format.h"
#include "../../core/format.hpp"

#include "../../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/api/script_text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "../script_instance.hpp"
#include "script_log.hpp"
#include "../../table/control_codes.h"
#include "../../3rdparty/fmt/format.h"
#include "../../core/format.hpp"

#include "table/strings.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/script_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "api/script_object.hpp"
#include "../textfile_gui.h"
#include "../string_func.h"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"
#include <charconv>

#include "../safeguards.h"
Expand Down
2 changes: 1 addition & 1 deletion src/script/script_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "script_info.hpp"
#include "script_scanner.hpp"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/script_info_dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "../string_func.h"
#include "../strings_func.h"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/script_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "../fileio_func.h"
#include "../league_type.h"

#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down
2 changes: 1 addition & 1 deletion src/script/script_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "../network/network_content.h"
#include "../3rdparty/md5/md5.h"
#include "../tar_type.h"
#include "../3rdparty/fmt/format.h"
#include "../core/format.hpp"

#include "../safeguards.h"

Expand Down

0 comments on commit 508f871

Please sign in to comment.