summaryrefslogtreecommitdiff
path: root/decoder/ff_csplit.cc
diff options
context:
space:
mode:
authorWilker Aziz <will.aziz@gmail.com>2014-09-22 11:07:12 +0100
committerWilker Aziz <will.aziz@gmail.com>2014-09-22 11:07:12 +0100
commit574252cdae4aede9e30f19a43cab3494bd01bcc7 (patch)
tree9d4ad92d8adbfc4dd41e178487f3f498bd42ac16 /decoder/ff_csplit.cc
parentc20decbd6b9be8f1a7d567cd72300b4e9582b55c (diff)
added missing c++11 headers (could not compile with gcc-4.8)
Diffstat (limited to 'decoder/ff_csplit.cc')
-rw-r--r--decoder/ff_csplit.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/decoder/ff_csplit.cc b/decoder/ff_csplit.cc
index a0e538d3..550ff69a 100644
--- a/decoder/ff_csplit.cc
+++ b/decoder/ff_csplit.cc
@@ -2,6 +2,8 @@
#include <set>
#include <cstring>
+#include <unordered_set>
+#include <unordered_map>
#include "klm/lm/model.hh"
@@ -14,12 +16,6 @@
#include "stringlib.h"
#include "tdict.h"
-#ifndef HAVE_OLD_CPP
-# include <unordered_set>
-#else
-# include <tr1/unordered_set>
-namespace std { using std::tr1::unordered_set; }
-#endif
using namespace std;
struct BasicCSplitFeaturesImpl {