首次提交
This commit is contained in:
@@ -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()) + "】";
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user