summaryrefslogtreecommitdiff
path: root/utils/perfect_hash.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-03-04 21:36:51 -0500
committerChris Dyer <redpony@gmail.com>2015-03-04 21:36:51 -0500
commit06f1b6aedbd96d652d5337cf1b93b51e4dd9a620 (patch)
treea736ff77bbe61810c71b421e9ff0e0ecd7638446 /utils/perfect_hash.h
parent95183b5760d7f168ae093ae8f9b29740628a278f (diff)
remove perfect hash function stuff, add zip option to extract.cc
Diffstat (limited to 'utils/perfect_hash.h')
-rw-r--r--utils/perfect_hash.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/utils/perfect_hash.h b/utils/perfect_hash.h
deleted file mode 100644
index 8c12c9f0..00000000
--- a/utils/perfect_hash.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef PERFECT_HASH_MAP_H_
-#define PERFECT_HASH_MAP_H_
-
-#include <vector>
-#include <boost/utility.hpp>
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_CMPH
-#include "cmph.h"
-#endif
-
-class PerfectHashFunction : boost::noncopyable {
- public:
- explicit PerfectHashFunction(const std::string& fname);
- ~PerfectHashFunction();
- size_t operator()(const std::string& key) const;
- size_t number_of_keys() const;
- private:
-#ifdef HAVE_CMPH
- cmph_t *mphf_;
-#endif
-};
-
-#endif