From 5f9ccea4152b63018095e247066524c425e7824e Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Tue, 23 Apr 2013 18:44:12 +0200 Subject: std::move inode f into kept, we won't use it afterwards --- hadori.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); } -- cgit v1.2.3