summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-10-09 12:19:14 -0400
committerChris Dyer <redpony@gmail.com>2014-10-09 12:19:14 -0400
commit4823bd6658e2ca8baa673b9566dc044c64912868 (patch)
treeeabe78798c2e9be3ee0dab82aecba3240bb6ff16
parent4ebd159797a5db525fce7433e03858f8de96dce6 (diff)
fix const
-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_; }