diff options
Diffstat (limited to 'simpleperf/utils.h')
-rw-r--r-- | simpleperf/utils.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/simpleperf/utils.h b/simpleperf/utils.h index 872e191d..3ca8f5cf 100644 --- a/simpleperf/utils.h +++ b/simpleperf/utils.h @@ -163,14 +163,4 @@ timeval SecondToTimeval(double time_in_sec); std::string GetSimpleperfVersion(); -namespace { - -// from boost::hash_combine -template <typename T> -void HashCombine(size_t& seed, const T& val) { - seed ^= std::hash<T>()(val) + 0x9e3779b9 + (seed << 6) + (seed >> 2); -} - -} // namespace - #endif // SIMPLE_PERF_UTILS_H_ |