Removed experimental ValueAllocator, it caused static initialization/destruction order issues (bug #2934500). The DefaultValueAllocator has been inlined in code.

This commit is contained in:
Baptiste Lepilleur
2010-03-13 13:10:27 +00:00
parent d38ba2a2cb
commit afd9cef928
5 changed files with 47 additions and 113 deletions

View File

@@ -415,7 +415,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();