1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-19 15:39:46 +00:00

Warning fix on clang

This commit is contained in:
King_DuckZ 2016-03-18 22:28:58 +01:00
parent a27b1ccec8
commit 3a2db550d2
12 changed files with 22 additions and 22 deletions

View file

@ -164,7 +164,7 @@ namespace mchlib {
auto end = parList.end();
for (auto it = parList.begin(); it != end; ++it) {
if (not it->is_directory)
return std::move(it);
return it;
}
return parList.end();
}
@ -174,7 +174,7 @@ namespace mchlib {
auto end = parList.end();
for (auto it = parList.begin(); it != end; ++it) {
if (not it->is_directory)
return std::move(it);
return it;
}
return parList.end();
}