diff options
author | Chris Dyer <redpony@gmail.com> | 2014-10-09 12:19:14 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-10-09 12:19:14 -0400 |
commit | 4823bd6658e2ca8baa673b9566dc044c64912868 (patch) | |
tree | eabe78798c2e9be3ee0dab82aecba3240bb6ff16 /decoder | |
parent | 4ebd159797a5db525fce7433e03858f8de96dce6 (diff) |
fix const
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/sentence_metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/sentence_metadata.h b/decoder/sentence_metadata.h index 19f3721d..069cac18 100644 --- a/decoder/sentence_metadata.h +++ b/decoder/sentence_metadata.h @@ -33,7 +33,7 @@ class SentenceMetadata { if (alt.size() > 1) { input_type_ = cdec::kLATTICE; break; } } } - cdec::InputType GetInputType() { return input_type_; } + cdec::InputType GetInputType() const { return input_type_; } int GetSentenceId() const { return sent_id_; } |