summaryrefslogtreecommitdiff
path: root/utils/fdict.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fdict.cc')
-rw-r--r--utils/fdict.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/fdict.cc b/utils/fdict.cc
index baa0b552..676c951c 100644
--- a/utils/fdict.cc
+++ b/utils/fdict.cc
@@ -9,6 +9,10 @@ using namespace std;
Dict FD::dict_;
bool FD::frozen_ = false;
+#ifdef HAVE_CMPH
+PerfectHashFunction* FD::hash_ = NULL;
+#endif
+
std::string FD::Convert(std::vector<WordID> const& v) {
return Convert(&*v.begin(),&*v.end());
}