From 5d8617dca7de1e4d740e087fae5ba8045c3f7234 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Thu, 9 Oct 2014 12:19:14 -0400 Subject: fix const --- decoder/sentence_metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder') 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_; } -- cgit v1.2.3