summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoder/sentence_metadata.h2
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_; }