diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-04-22 11:52:58 +0200 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-05-28 16:43:54 +0200 |
| commit | 78805e49c0b7bf52821aab9dfcf175d09f82b02e (patch) | |
| tree | c58442cfbcfdf4927491b0d972972e46de7b1c3a /src/server | |
| parent | 3f6153f9d962d18ac6f794047709dc64dd830dd9 (diff) | |
Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5de5a36f6ecef5211e9a3ea8e3774d1b)
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/database/Updater/UpdateFetcher.cpp | 4 | ||||
| -rw-r--r-- | src/server/game/DataStores/DB2Stores.cpp | 1 | ||||
| -rw-r--r-- | src/server/game/Scripting/ScriptReloadMgr.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Commands/cs_server.cpp | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/server/database/Updater/UpdateFetcher.cpp b/src/server/database/Updater/UpdateFetcher.cpp index 33a3eb4613b..9eb27231d18 100644 --- a/src/server/database/Updater/UpdateFetcher.cpp +++ b/src/server/database/Updater/UpdateFetcher.cpp @@ -16,13 +16,13 @@ */ #include "UpdateFetcher.h" -#include "Common.h" +#include "CryptoHash.h" #include "DBUpdater.h" #include "Field.h" -#include "CryptoHash.h" #include "Log.h" #include "QueryResult.h" #include "Util.h" +#include <boost/filesystem/directory.hpp> #include <boost/filesystem/operations.hpp> #include <fstream> #include <sstream> diff --git a/src/server/game/DataStores/DB2Stores.cpp b/src/server/game/DataStores/DB2Stores.cpp index fcfae9247ce..c04de82db12 100644 --- a/src/server/game/DataStores/DB2Stores.cpp +++ b/src/server/game/DataStores/DB2Stores.cpp @@ -28,6 +28,7 @@ #include "Timer.h" #include "Util.h" #include "World.h" +#include <boost/filesystem/directory.hpp> #include <boost/filesystem/operations.hpp> #include <array> #include <bitset> diff --git a/src/server/game/Scripting/ScriptReloadMgr.cpp b/src/server/game/Scripting/ScriptReloadMgr.cpp index 96125ffc113..17e9530818c 100644 --- a/src/server/game/Scripting/ScriptReloadMgr.cpp +++ b/src/server/game/Scripting/ScriptReloadMgr.cpp @@ -857,7 +857,7 @@ private: { boost::system::error_code code; - fs::copy_file(path, cache_path, fs::copy_option::fail_if_exists, code); + fs::copy_file(path, cache_path, code); if (code) { TC_LOG_FATAL("scripts.hotswap", ">> Failed to create cache entry for module " diff --git a/src/server/scripts/Commands/cs_server.cpp b/src/server/scripts/Commands/cs_server.cpp index ef8798be80d..6b607244805 100644 --- a/src/server/scripts/Commands/cs_server.cpp +++ b/src/server/scripts/Commands/cs_server.cpp @@ -41,6 +41,7 @@ EndScriptData */ #include "VMapManager2.h" #include "World.h" #include "WorldSession.h" +#include <boost/filesystem/directory.hpp> #include <boost/filesystem/operations.hpp> #include <openssl/crypto.h> #include <openssl/opensslv.h> |
