summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-04 12:58:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-04 12:58:20 +0300
commitd3f84250fdaa48e0ca1032b92b9c0f827707655b (patch)
tree95004e21bc2d05ca54bd3272a312d943e7b77502 /libs
parentebbe8bc928141cfae1adb539463fef4d8156649b (diff)
compilation fix
Diffstat (limited to 'libs')
-rw-r--r--libs/libjson/src/JSONWriter.cpp2
-rw-r--r--libs/libjson/src/internalJSONNode.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/libjson/src/JSONWriter.cpp b/libs/libjson/src/JSONWriter.cpp
index ce753970c8..b04dfde1dd 100644
--- a/libs/libjson/src/JSONWriter.cpp
+++ b/libs/libjson/src/JSONWriter.cpp
@@ -30,6 +30,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef JSON_WRITER
#include "JSONWorker.h"
+static const json_string CONST_NULL(JSON_TEXT("null"));
+
const static json_string WRITER_EMPTY;
#ifndef JSON_NEWLINE
const static json_string NEW_LINE(JSON_TEXT("\n"));
diff --git a/libs/libjson/src/internalJSONNode.cpp b/libs/libjson/src/internalJSONNode.cpp
index 1b51582db2..d541120e81 100644
--- a/libs/libjson/src/internalJSONNode.cpp
+++ b/libs/libjson/src/internalJSONNode.cpp
@@ -37,8 +37,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
is much faster
*/
-const json_string CONST_NULL(JSON_TEXT("null"));
-
static const json_string CONST_TRUE(JSON_TEXT("true"));
static const json_string CONST_FALSE(JSON_TEXT("false"));