summaryrefslogtreecommitdiff
path: root/decoder
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
commit5d8617dca7de1e4d740e087fae5ba8045c3f7234 (patch)
tree1b1037d51b6b3fc26edad3ff999e4088219c0d6c /decoder
parent1d87fbb31502ba27f0469e4a576e410ee43ad77a (diff)
fix const
Diffstat (limited to 'decoder')
-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_; }