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

This commit is contained in:
2021-05-21 01:37:42 +02:00
parent 8bb585d97d
commit 27720afaf2
11 changed files with 13 additions and 39 deletions

View File

@@ -166,10 +166,9 @@ bool TicketInfo::ParseTicketConf(long mount_dir_id, const std::wstring & path)
log << log3 << "Ticket: parsing conf file: " << path << logend;
conf_tab[mount_dir_id].file_name = path;
conf_parser.SetSpace(conf_tab[mount_dir_id].conf);
conf_tab[mount_dir_id].conf.clear();
pt::Space & space = conf_tab[mount_dir_id].conf;
return (conf_parser.ParseSpace(config_file.item_content.content_raw) == pt::SpaceParser::ok);
return (conf_parser.ParseSpace(config_file.item_content.content_raw, space) == pt::SpaceParser::ok);
}