diff options
Diffstat (limited to 'lm/builder/ngram.hh')
-rw-r--r-- | lm/builder/ngram.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lm/builder/ngram.hh b/lm/builder/ngram.hh index 2984ed0b6..f5681516a 100644 --- a/lm/builder/ngram.hh +++ b/lm/builder/ngram.hh @@ -53,7 +53,7 @@ class NGram { Payload &Value() { return *reinterpret_cast<Payload *>(end_); } uint64_t &Count() { return Value().count; } - const uint64_t Count() const { return Value().count; } + uint64_t Count() const { return Value().count; } std::size_t Order() const { return end_ - begin_; } |