From ee84c769ffb8d12677046e05999bd8886efe8557 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 21 Nov 2011 20:41:09 -0500 Subject: make it possible to build with an earlier version of boost --- decoder/ff_wordset.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoder') diff --git a/decoder/ff_wordset.h b/decoder/ff_wordset.h index 643097ef..7c9a3fb7 100644 --- a/decoder/ff_wordset.h +++ b/decoder/ff_wordset.h @@ -3,7 +3,7 @@ #include "ff.h" -#include +#include #include #include @@ -43,7 +43,7 @@ class WordSet : public FeatureFunction { void* context) const; private: - static void loadVocab(const std::string& vocabFile, boost::unordered_set* vocab) { + static void loadVocab(const std::string& vocabFile, std::tr1::unordered_set* vocab) { std::ifstream file; std::string line; @@ -105,7 +105,7 @@ class WordSet : public FeatureFunction { int fid_; bool oovMode_; - boost::unordered_set vocab_; + std::tr1::unordered_set vocab_; }; #endif -- cgit v1.2.3