diff options
Diffstat (limited to 'src/mir_core/json/libJSON.cpp')
-rw-r--r-- | src/mir_core/json/libJSON.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/json/libJSON.cpp b/src/mir_core/json/libJSON.cpp index c8f7a0e3ff..ebba2f2fd4 100644 --- a/src/mir_core/json/libJSON.cpp +++ b/src/mir_core/json/libJSON.cpp @@ -276,8 +276,8 @@ MIR_CORE_DLL(json_char*) json_as_string(const JSONNODE * node){ return toCString(((JSONNode*)node) -> as_string());
}
-MIR_CORE_DLL(std::string) json_as_pstring(const JSONNODE * node){
- JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_as_string"), return toCString(EMPTY_CSTRING););
+MIR_C_CORE_DLL(std::string) json_as_pstring(const JSONNODE * node){
+ JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_as_string"), return EMPTY_CSTRING;);
return ((JSONNode*)node) -> as_string();
}
|