fixed warning
This commit is contained in:
parent
489f8e38e2
commit
5435d54510
|
@ -79,7 +79,7 @@ bool mrbesen::files::iterateFile(std::istream& file, fileLineCallback clb, bool
|
|||
|
||||
template<class Container>
|
||||
bool mrbesen::files::scan(const std::string& path, std::insert_iterator<Container> it, bool prefixdir, fileNameFilter fnf) {
|
||||
return scan(path, [&](const std::string& p, FileType t){ it = p; }, prefixdir, fnf);
|
||||
return scan(path, [&](const std::string& p, [[maybe_unused]] FileType t){ it = p; }, prefixdir, fnf);
|
||||
}
|
||||
|
||||
//curently only these are supported, because iterators may break on others upon insertion
|
||||
|
|
Loading…
Reference in New Issue