updated to the new pikotools api: snake_case names of methods from SpaceParser

This commit is contained in:
2021-05-21 04:51:58 +02:00
parent 27720afaf2
commit fe67b5d72a
11 changed files with 12 additions and 12 deletions

View File

@@ -1154,7 +1154,7 @@ void App::ReadPostJson()
if( !post_buffer.empty() )
{
pt::SpaceParser::Status status = space_parser.ParseJSON(post_buffer.c_str(), cur.request->post_in);
pt::SpaceParser::Status status = space_parser.parse_json(post_buffer.c_str(), cur.request->post_in);
post_buffer.clear();
if( status != pt::SpaceParser::ok )

View File

@@ -102,7 +102,7 @@ bool Config::ReadConfig(bool errors_to_stdout_, bool stdout_is_closed)
}
log << log2 << "Config: reading a config file" << logend;
pt::SpaceParser::Status status = parser.ParseSpaceFile(config_file, space);
pt::SpaceParser::Status status = parser.parse_space_file(config_file, space);
if( status == pt::SpaceParser::ok )
{

View File

@@ -144,7 +144,7 @@ pt::Space space;
pt::SpaceParser parser;
pt::Date date;
pt::SpaceParser::Status status = parser.ParseSpaceFile(file, space);
pt::SpaceParser::Status status = parser.parse_space_file(file, space);
if( status == pt::SpaceParser::ok )
{

View File

@@ -168,7 +168,7 @@ void TimeZones::ParseZones()
bool TimeZones::ReadTimeZones(const wchar_t * path)
{
zone_tab.clear();
pt::SpaceParser::Status status = parser.ParseSpaceFile(path, temp_space);
pt::SpaceParser::Status status = parser.parse_space_file(path, temp_space);
if( status == pt::SpaceParser::ok )
{