summaryrefslogtreecommitdiff
path: root/klm/lm/trie_sort.hh
diff options
context:
space:
mode:
Diffstat (limited to 'klm/lm/trie_sort.hh')
-rw-r--r--klm/lm/trie_sort.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/klm/lm/trie_sort.hh b/klm/lm/trie_sort.hh
index 3036319d..1e6fce51 100644
--- a/klm/lm/trie_sort.hh
+++ b/klm/lm/trie_sort.hh
@@ -25,7 +25,7 @@ namespace lm {
class PositiveProbWarn;
namespace ngram {
class SortedVocabulary;
-class Config;
+struct Config;
namespace trie {
@@ -107,7 +107,7 @@ class SortedFiles {
util::scoped_fd unigram_;
- util::scoped_FILE full_[kMaxOrder - 1], context_[kMaxOrder - 1];
+ util::scoped_FILE full_[KENLM_MAX_ORDER - 1], context_[KENLM_MAX_ORDER - 1];
};
} // namespace trie