linux编译修复

This commit is contained in:
2023-08-06 03:06:14 +08:00
parent 313e5e52bf
commit f8d738563f
15 changed files with 55 additions and 34 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <cstdarg>
#include <cstdio>
namespace dl
{
std::string to_string(std::error_code code)
@@ -88,7 +89,7 @@ bool GetPathAndRes(std::string_view path_root, std::string_view path_name, std::
{
path_real = path_name;
res_name = "error";
log_err("绝对路径加载,必须设定资源名字!");
log_err0("绝对路径加载,必须设定资源名字!");
return false;
}
else