diff options
author | George Hazan <george.hazan@gmail.com> | 2016-06-29 16:06:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-06-29 16:06:12 +0000 |
commit | 2dad84e37b1ba2d2a0eb5b437031ee594ca43148 (patch) | |
tree | 4d71e13d6a2544c33e0a3b9fc237f5b6475cb254 /libs/libjson/src/libJSON.cpp | |
parent | ff585c0bb2301f13bc6e8263077b0aaac209f80b (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@17046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/libjson/src/libJSON.cpp')
-rw-r--r-- | libs/libjson/src/libJSON.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libjson/src/libJSON.cpp b/libs/libjson/src/libJSON.cpp index dbd57b2c26..255e3b1d06 100644 --- a/libs/libjson/src/libJSON.cpp +++ b/libs/libjson/src/libJSON.cpp @@ -440,13 +440,13 @@ LIBJSON_DLL(void) json_push_back(JSONNode *node, JSONNode *node2) { LIBJSON_DLL(JSONNode*) json_pop_back_at(JSONNode *node, json_index_t pos) {
JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_pop_back_i"), return 0;);
- return MANAGER_INSERT(&node->pop_back(pos));
+ return MANAGER_INSERT(node->pop_back(pos));
}
LIBJSON_DLL(JSONNode*) json_pop_back(JSONNode *node, const json_char *name) {
JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_pop_back"), return 0;);
JSON_ASSERT_SAFE(name, JSON_TEXT("null name to json_pop_back. Did you mean to use json_pop_back_at?"), return 0;);
- return MANAGER_INSERT(&node->pop_back(name));
+ return MANAGER_INSERT(node->pop_back(name));
}
//comparison
|