From a40bb6e7fd6e74e8b2d2222bba9421b580577e8e Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Fri, 2 Dec 2011 20:23:18 +0100 Subject: also use unordered_map for sizes --- hadori.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadori.C b/hadori.C index 7597530..46ea864 100644 --- a/hadori.C +++ b/hadori.C @@ -4,7 +4,6 @@ namespace po = boost::program_options; #include #include #include -#include #include #include #include @@ -57,7 +56,7 @@ void do_link (inode const & i, std::string const & other) { void handle_file(std::string const & path, struct stat const & s) { static std::unordered_map kept; static std::unordered_map to_link; - static std::multimap sizes; + static std::unordered_multimap sizes; debug << "examining " << path << std::endl; if (kept.count(s.st_ino)) { -- cgit v1.2.3