summaryrefslogtreecommitdiff
path: root/hadori.C
diff options
context:
space:
mode:
Diffstat (limited to 'hadori.C')
-rw-r--r--hadori.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadori.C b/hadori.C
index 9abd40b..4867648 100644
--- a/hadori.C
+++ b/hadori.C
@@ -115,7 +115,7 @@ void handle_file(std::string const & path, struct stat const & s) {
return;
}
debug << "we keep " << f << std::endl;
- kept.insert({s.st_ino, f});
+ kept.insert({s.st_ino, std::move(f)});
sizes.insert({s.st_size, s.st_ino});
}