From c56cf040d443e2ac89035148b287957569ab588f Mon Sep 17 00:00:00 2001 From: OEOTYAN Date: Thu, 2 Jan 2025 20:24:27 +0800 Subject: [PATCH] chore: update magic_enum version --- src-server/ll/core/Statistics.cpp | 2 +- src-server/ll/core/tweak/SimpleServerLogger.cpp | 2 +- src-test/server/RecipesTest.cpp | 2 +- .../McClassMembersTests/FeatureMembersTest.cpp | 2 +- src/ll/api/command/CommandRegistrar.h | 2 +- src/ll/api/reflection/Reflection.h | 2 +- src/ll/api/utils/StringUtils_win.cpp | 2 +- xmake.lua | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src-server/ll/core/Statistics.cpp b/src-server/ll/core/Statistics.cpp index 4557365766..58c997ade0 100644 --- a/src-server/ll/core/Statistics.cpp +++ b/src-server/ll/core/Statistics.cpp @@ -30,7 +30,7 @@ #include "mc/world/level/Level.h" #include "cpr/cpr.h" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" #include "nlohmann/json.hpp" #include "nlohmann/json_fwd.hpp" diff --git a/src-server/ll/core/tweak/SimpleServerLogger.cpp b/src-server/ll/core/tweak/SimpleServerLogger.cpp index 1660edf8fd..f4e4c57692 100644 --- a/src-server/ll/core/tweak/SimpleServerLogger.cpp +++ b/src-server/ll/core/tweak/SimpleServerLogger.cpp @@ -9,7 +9,7 @@ #include "mc/server/commands/CommandOrigin.h" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" namespace ll { using namespace event; diff --git a/src-test/server/RecipesTest.cpp b/src-test/server/RecipesTest.cpp index 0df23881db..edcffece55 100644 --- a/src-test/server/RecipesTest.cpp +++ b/src-test/server/RecipesTest.cpp @@ -2,7 +2,7 @@ #include "ll/api/memory/Hook.h" #include "ll/api/service/Bedrock.h" #include "ll/api/utils/StringUtils.h" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" #include "mc/deps/json/Value.h" #include "mc/nbt/CompoundTag.h" #include "mc/server/ServerInstance.h" diff --git a/src-test/server/customWorldGenerator/McClassMembersTests/FeatureMembersTest.cpp b/src-test/server/customWorldGenerator/McClassMembersTests/FeatureMembersTest.cpp index e2a7b39374..418f321e63 100644 --- a/src-test/server/customWorldGenerator/McClassMembersTests/FeatureMembersTest.cpp +++ b/src-test/server/customWorldGenerator/McClassMembersTests/FeatureMembersTest.cpp @@ -1,7 +1,7 @@ #include "ll/api/io/Logger.h" #include "ll/api/memory/Hook.h" #include "ll/core/LeviLamina.h" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" #include "mc/util/Random.h" #include "mc/util/WorldChangeTransaction.h" #include "mc/world/level/BlockPos.h" diff --git a/src/ll/api/command/CommandRegistrar.h b/src/ll/api/command/CommandRegistrar.h index 0697d850e9..b77d81f296 100644 --- a/src/ll/api/command/CommandRegistrar.h +++ b/src/ll/api/command/CommandRegistrar.h @@ -7,7 +7,7 @@ #include #include -#include "magic_enum_all.hpp" // IWYU pragma: keep +#include "magic_enum/magic_enum_all.hpp" // IWYU pragma: keep #include "ll/api/base/Macro.h" #include "ll/api/base/StdInt.h" diff --git a/src/ll/api/reflection/Reflection.h b/src/ll/api/reflection/Reflection.h index 032f570c76..dc9c87a22b 100644 --- a/src/ll/api/reflection/Reflection.h +++ b/src/ll/api/reflection/Reflection.h @@ -16,7 +16,7 @@ #include "boost/pfr.hpp" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" namespace ll::reflection { template diff --git a/src/ll/api/utils/StringUtils_win.cpp b/src/ll/api/utils/StringUtils_win.cpp index 24896997a7..4fbda06270 100644 --- a/src/ll/api/utils/StringUtils_win.cpp +++ b/src/ll/api/utils/StringUtils_win.cpp @@ -10,7 +10,7 @@ #include "fmt/color.h" #include "fmt/core.h" #include "fmt/format.h" -#include "magic_enum.hpp" +#include "magic_enum/magic_enum.hpp" #include "ll/api/base/StdInt.h" diff --git a/xmake.lua b/xmake.lua index 23fc541d0e..7027990215 100644 --- a/xmake.lua +++ b/xmake.lua @@ -24,7 +24,7 @@ add_requires("fmt 10.2.1") add_requires("gsl v4.0.0") add_requires("glm 1.0.1") add_requires("leveldb 1.23") -add_requires("magic_enum v0.9.5") +add_requires("magic_enum v0.9.7") add_requires("nlohmann_json v3.11.3") add_requires("rapidjson v1.1.0") add_requires("type_safe v0.2.4")