diff options
author | DeadMouse <maximinua08@gmail.com> | 2023-01-09 11:27:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 10:27:16 +0100 |
commit | deac3476b07505c68045a6782813977a87880aaf (patch) | |
tree | 8851f5a7eed0a3987004c5df9cc12cf0dc1d59e0 /src/server/game/Maps/Map.cpp | |
parent | d86726e670db5813da48c60dde1d6a59270a3417 (diff) |
Core/Misc Fixed build with boost 1.74 (#28679)
Diffstat (limited to 'src/server/game/Maps/Map.cpp')
-rw-r--r-- | src/server/game/Maps/Map.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index f4b6e27db81..2836fc423d8 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -66,7 +66,6 @@ #include <sstream> #include "Hacks/boost_1_74_fibonacci_heap.h" -BOOST_1_74_FIBONACCI_HEAP_MSVC_COMPILE_FIX(RespawnListContainer::value_type) #define DEFAULT_GRID_EXPIRY 300 #define MAX_GRID_LOAD_TIME 50 @@ -81,6 +80,9 @@ struct RespawnInfoWithHandle; struct RespawnListContainer : boost::heap::fibonacci_heap<RespawnInfoWithHandle*, boost::heap::compare<CompareRespawnInfo>> { }; + +BOOST_1_74_FIBONACCI_HEAP_MSVC_COMPILE_FIX(RespawnListContainer::value_type) + struct RespawnInfoWithHandle : RespawnInfo { explicit RespawnInfoWithHandle(RespawnInfo const& other) : RespawnInfo(other) { } |