Take trace size into account for hash generation.
authorMilian Wolff <mail@milianw.de>
Wed, 28 May 2014 11:19:52 +0000 (13:19 +0200)
committerMilian Wolff <mail@milianw.de>
Wed, 28 May 2014 11:19:52 +0000 (13:19 +0200)
malloctrace.cpp

index c66b311..46a785a 100644 (file)
@@ -53,6 +53,7 @@ namespace std {
             for (auto ip : trace) {
                 boost::hash_combine(seed, ip);
             }
+            boost::hash_combine(seed, trace.size());
             return seed;
         }
     };