首次提交

This commit is contained in:
2026-06-16 13:33:27 +08:00
parent d2f95e0e27
commit eb4a585378
2 changed files with 8 additions and 3 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
#pragma once
#include "../Base/global_include.h"
#include "magic_enum/../../../export.h"
#include <algorithm>
#include <atomic>
@@ -21,6 +21,9 @@
#include <utility>
#include <vector>
#include "3rd/magic_enum/export.h"
#include "magic_enum/magic_enum.hpp"
#define PSC_LOAD_LIBRARY_PARAMS(M, SEP) \
M(const std::string&, library_path)
@@ -240,7 +243,7 @@ namespace Psc {
std::error_code native;
std::string to_string() {
auto enum_name = std::string(magic_enum::enum_type_name<Enum_Type>());
auto enum_name = std::string(magic_enum::template enum_type_name<Enum_Type>());
return enum_name + "" + Psc::to_string(nerr) + " native:" + get_error_message(native.value()) + "";
}
};