apparaently the macro expansion has an ambiguous else

develop
Myk Taylor 2023-03-11 08:53:29 -08:00
parent 76bacee238
commit e7f8fbb235
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 1 deletions

@ -567,9 +567,10 @@ bool loadModScriptPaths(color_ostream &out) {
mod_script_paths.emplace_back(installed_path);
std::string slashless = *pathit;
slashless.resize(slashless.size()-1);
if (0 == files.erase(slashless))
if (0 == files.erase(slashless)) {
WARN(script,out).print("script path not found: '%s'\n", pathit->c_str());
}
}
for (auto & entry : files) {
if (!entry.second)