Commit b18fddc4 authored by Lucian Grijincu's avatar Lucian Grijincu Committed by Facebook Github Bot

folly: elfcache: nuke StringPieceHash

Summary: #accept2ship

Reviewed By: bixue2010

Differential Revision: D3971138

fbshipit-source-id: 25e0aeddebf001dd8e27a4939842915ccf1000ad
parent 06767a9b
......@@ -29,6 +29,8 @@
#include <boost/intrusive/list.hpp>
#include <glog/logging.h>
#include <folly/Hash.h>
#include <folly/Range.h>
#include <folly/experimental/symbolizer/Elf.h>
namespace folly { namespace symbolizer {
......@@ -116,10 +118,7 @@ class ElfCache : public ElfCacheBase {
static std::shared_ptr<ElfFile> filePtr(const std::shared_ptr<Entry>& e);
size_t capacity_;
std::unordered_map<
StringPiece,
std::shared_ptr<Entry>,
StringPieceHash> files_;
std::unordered_map<StringPiece, std::shared_ptr<Entry>, Hash> files_;
typedef boost::intrusive::list<
Entry,
......
Markdown is supported
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