1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-11 23:54:09 +02:00

fix windows build

This commit is contained in:
Timur Gagiev
2020-12-30 04:56:03 +03:00
parent 608f75e71d
commit 26d226a6df

View File

@@ -23,7 +23,7 @@ struct JSON {
Type type; Type type;
JSON(Type type, const char *name = NULL) : nodes(NULL), prev(NULL), next(NULL), type(type) { JSON(Type type, const char *name = NULL) : nodes(NULL), prev(NULL), next(NULL), type(type) {
this->name = String::copy(name); this->name = StrUtils::copy(name);
} }
~JSON() { ~JSON() {
@@ -66,7 +66,7 @@ struct JSON {
void add(const char *name, const char *value) { void add(const char *name, const char *value) {
add(STRING, name)->sValue = String::copy(value); add(STRING, name)->sValue = StrUtils::copy(value);
} }
void add(const char *name, int value) { void add(const char *name, int value) {