mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-02 14:04:22 +00:00
Warning fix on clang
This commit is contained in:
parent
a27b1ccec8
commit
3a2db550d2
12 changed files with 22 additions and 22 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ namespace mchlib {
|
|||
std::vector<typename std::conditional<Const, const FileRecordData*, FileRecordData*>::type> retval;
|
||||
|
||||
implem::flattened_listing(parContent, retval);
|
||||
return std::move(retval);
|
||||
return retval;
|
||||
}
|
||||
} //namespace mchlib
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue