Skip to content

Commit

Permalink
Fixes for clang 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Aug 28, 2020
1 parent d64bdd3 commit 7299d7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/arbiter/arbiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,8 @@ std::vector<std::string> glob(std::string path)
const auto pre(path.substr(0, recPos)); // Cut off before the '*'.
const auto post(path.substr(recPos + 1)); // Includes the second '*'.

for (const auto d : walk(pre)) dirs.push_back(d + post);
for (const std::string& d : walk(pre))
dirs.push_back(d + post);
}
else
{
Expand Down

0 comments on commit 7299d7e

Please sign in to comment.