linux编译修复
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user