Fixing clang compiler warnings

This commit is contained in:
Vojtech Bubnik 2021-11-30 10:50:18 +01:00
parent f72d83993e
commit 5fd279cbc8
18 changed files with 27 additions and 23 deletions
src/slic3r/GUI

View file

@ -535,7 +535,7 @@ wxString file_wildcards(FileType file_type, const std::string &custom_extension)
}
}
for (const std::string_view ext : data.file_extensions)
for (const std::string_view &ext : data.file_extensions)
// Only add an extension if it was not added first as the custom extension.
if (ext != custom_ext_lower) {
if (title.empty()) {