updated to the new api of Space from pikotools
This commit is contained in:
@@ -430,16 +430,16 @@ void DbConnector::get_value(const char * value_str, PT::Date & field_value)
|
||||
|
||||
void DbConnector::get_value(const char * value_str, PT::Space & field_value)
|
||||
{
|
||||
field_value.Clear();
|
||||
field_value.clear();
|
||||
|
||||
if( *value_str != '\0' )
|
||||
{
|
||||
PT::SpaceParser space_parser;
|
||||
space_parser.SetSpace(field_value);
|
||||
|
||||
if( space_parser.ParseString(value_str) != PT::SpaceParser::ok )
|
||||
if( space_parser.ParseSpace(value_str) != PT::SpaceParser::ok )
|
||||
{
|
||||
field_value.Clear();
|
||||
field_value.clear();
|
||||
|
||||
if( log )
|
||||
{
|
||||
|
Reference in New Issue
Block a user