Fix build error using Visual Studio 12
This commit is contained in:
parent
b81b2ec25d
commit
92060b2153
@ -588,8 +588,8 @@ JSONDocument::const_item_iterator::~const_item_iterator() {
|
||||
|
||||
JSONDocument::const_item_iterator::value_type
|
||||
JSONDocument::const_item_iterator::operator*() {
|
||||
return {std::string(it_->getKeyStr(), it_->klen()),
|
||||
JSONDocument(it_->value(), false)};
|
||||
return JSONDocument::const_item_iterator::value_type(std::string(it_->getKeyStr(), it_->klen()),
|
||||
JSONDocument(it_->value(), false));
|
||||
}
|
||||
|
||||
JSONDocument::ItemsIteratorGenerator::ItemsIteratorGenerator(
|
||||
|
Loading…
x
Reference in New Issue
Block a user