fix a bug, it's return type error.

This commit is contained in:
2020-10-11 16:58:08 +08:00
parent 7c534f050c
commit 46bb78cefb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#include<json/json.h> #include<json/json.h>
#include<hgl/type/BaseString.h> #include<hgl/type/String.h>
namespace hgl namespace hgl
{ {

View File

@@ -72,7 +72,7 @@ namespace hgl
return(result); return(result);
} }
int SaveJson(Json::Value &root,const OSString &filename,OSString &error_info) bool SaveJson(Json::Value &root,const OSString &filename,OSString &error_info)
{ {
UTF8String txt; UTF8String txt;