updated to the new pikotools api: SpaceParser::SetSpace(...) methods have been removed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user