updated to the new pikotools api: snake_case names of methods from SpaceParser
This commit is contained in:
@@ -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 )
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user