updated to the new pikotools api: SpaceParser::SetSpace(...) methods have been removed

This commit is contained in:
Tomasz Sowa 2021-05-21 01:35:16 +02:00
parent 0ff900f626
commit 9598cc4def
1 changed files with 1 additions and 2 deletions

View File

@ -715,9 +715,8 @@ void DbConnector::get_value(const char * value_str, pt::Space & field_value, con
if( *value_str != '\0' )
{
pt::SpaceParser space_parser;
space_parser.SetSpace(field_value);
if( space_parser.ParseSpace(value_str) != pt::SpaceParser::ok )
if( space_parser.ParseSpace(value_str, field_value) != pt::SpaceParser::ok )
{
field_value.clear();