mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 13:22:06 +00:00
Fix asserts which would not compile. (#3741)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user