diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fecb806..11f6a7ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.10) project(newserv) -set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED True) if (MSVC) add_compile_options(/W4 /WX) diff --git a/src/PlayerInventory.hh b/src/PlayerInventory.hh index 20dd48e7..a0ef6e85 100644 --- a/src/PlayerInventory.hh +++ b/src/PlayerInventory.hh @@ -3,6 +3,7 @@ #include #include +#include #include #include #include