aboutsummaryrefslogtreecommitdiff
path: root/lib/jsoncpp/src/lib_json/json_internalmap.inl
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2011-01-28 14:08:12 +0100
committermontellese <montellese@xbmc.org>2011-04-01 20:35:50 +0200
commit0158bd9ab97f4a4fa8d7770f4137905a3503b224 (patch)
treec457e66ff0e2eb2a7e2121e3e2d7719dfc8c73cc /lib/jsoncpp/src/lib_json/json_internalmap.inl
parent97b5e9f770405d37ce0f6ca95f538e80fefe18aa (diff)
JSONRPC: update of jsoncpp library to latest revision
Diffstat (limited to 'lib/jsoncpp/src/lib_json/json_internalmap.inl')
-rw-r--r--lib/jsoncpp/src/lib_json/json_internalmap.inl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/jsoncpp/src/lib_json/json_internalmap.inl b/lib/jsoncpp/src/lib_json/json_internalmap.inl
index 19771488d6..d0dd62adae 100644
--- a/lib/jsoncpp/src/lib_json/json_internalmap.inl
+++ b/lib/jsoncpp/src/lib_json/json_internalmap.inl
@@ -1,3 +1,8 @@
+// Copyright 2007-2010 Baptiste Lepilleur
+// Distributed under MIT license, or public domain if desired and
+// recognized in your jurisdiction.
+// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
// included by json_value.cpp
// everything is within Json namespace
@@ -415,7 +420,7 @@ ValueInternalMap::setNewItem( const char *key,
ValueInternalLink *link,
BucketIndex index )
{
- char *duplicatedKey = valueAllocator()->makeMemberName( key );
+ char *duplicatedKey = makeMemberName( key );
++itemCount_;
link->keys_[index] = duplicatedKey;
link->items_[index].setItemUsed();