Core/Misc Fixed build with boost 1.74 (#28679)

This commit is contained in:
DeadMouse
2023-01-09 11:27:16 +02:00
committed by GitHub
parent d86726e670
commit deac3476b0
2 changed files with 5 additions and 2 deletions

View File

@@ -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) { }