diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-04-23 18:44:12 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-04-24 00:51:50 +0200 |
commit | 5f9ccea4152b63018095e247066524c425e7824e (patch) | |
tree | 1fc5576020af743b2165b6688242ea704ecc77b6 | |
parent | 7bb00e45cc6fcfa85514bf4e645b0cedebbc0216 (diff) | |
download | hadori-5f9ccea4152b63018095e247066524c425e7824e.tar.gz |
std::move inode f into kept, we won't use it afterwards
-rw-r--r-- | hadori.C | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}); } |