Browse Source

fix(Space): increment value object iterator in get_space_nc

master
Tomasz Sowa 4 months ago
parent
commit
7eba07a439
  1. 4
      src/space/space.cpp

4
src/space/space.cpp

@ -2071,7 +2071,7 @@ Space * Space::get_space_nc(const wchar_t * field)
{
ObjectType::iterator i = value.value_object.begin();
while( i != value.value_object.end() )
for( ; i != value.value_object.end() ; ++i )
{
if( is_equal_nc(field, i->first.c_str()) )
{
@ -2096,7 +2096,7 @@ const Space * Space::get_space_nc(const wchar_t * field) const
{
ObjectType::const_iterator i = value.value_object.cbegin();
while( i != value.value_object.cend() )
for( ; i != value.value_object.cend() ; ++i )
{
if( is_equal_nc(field, i->first.c_str()) )
{

Loading…
Cancel
Save