Skip to content
Snippets Groups Projects
Unverified Commit 25966b33 authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

chore: remove unused hash function

Unused since e1e73fa5

 #24115

Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>
parent bf754a3c
No related merge requests found
......@@ -5,7 +5,6 @@
#include <iterator>
#include <utility>
#include "base/hash/hash.h"
#include "base/run_loop.h"
#include "electron/buildflags/buildflags.h"
#include "shell/common/api/electron_api_key_weak_map.h"
......@@ -17,18 +16,6 @@
#include "url/origin.h"
#include "v8/include/v8-profiler.h"
namespace std {
// The hash function used by DoubleIDWeakMap.
template <typename Type1, typename Type2>
struct hash<std::pair<Type1, Type2>> {
std::size_t operator()(std::pair<Type1, Type2> value) const {
return base::HashInts(base::Hash(value.first), value.second);
}
};
} // namespace std
namespace gin {
template <typename Type1, typename Type2>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment