Fix asserts which would not compile. (#3741)

This commit is contained in:
Seth LaForge 2024-01-26 18:30:29 -08:00 committed by GitHub
parent 3cb573dcb9
commit e5bdc7d5bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 19 additions and 26 deletions

View file

@ -396,7 +396,7 @@ IconManager::VIcons init_icons(IconManager &mng, const GuiCfg &cfg)
"reflection_y.svg", // reflection_y
};
assert(init_types.size() == static_cast<size_t>(IconType::_count));
assert(filenames.size() == static_cast<size_t>(IconType::_count));
std::string path = resources_dir() + "/images/";
for (std::string &filename : filenames) filename = path + filename;