Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lm/trie_sort.hh')
-rw-r--r--lm/trie_sort.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/lm/trie_sort.hh b/lm/trie_sort.hh
index c1be9bfc4..2197b80ce 100644
--- a/lm/trie_sort.hh
+++ b/lm/trie_sort.hh
@@ -3,6 +3,7 @@
#ifndef LM_TRIE_SORT__
#define LM_TRIE_SORT__
+#include "lm/max_order.hh"
#include "lm/word_index.hh"
#include "util/file.hh"
@@ -28,8 +29,6 @@ struct Config;
namespace trie {
-void WriteOrThrow(FILE *to, const void *data, size_t size);
-
class EntryCompare : public std::binary_function<const void*, const void*, bool> {
public:
explicit EntryCompare(unsigned char order) : order_(order) {}