From 95183b5760d7f168ae093ae8f9b29740628a278f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 3 Mar 2015 01:14:07 -0500 Subject: migration to cmake --- decoder/sentence_metadata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoder/sentence_metadata.h') diff --git a/decoder/sentence_metadata.h b/decoder/sentence_metadata.h index e13c2ca5..27fcac38 100644 --- a/decoder/sentence_metadata.h +++ b/decoder/sentence_metadata.h @@ -7,8 +7,8 @@ #include "lattice.h" #include "tree_fragment.h" -struct DocScorer; // deprecated, will be removed -struct Score; // deprecated, will be removed +class DocScorer; // deprecated, will be removed +class Score; // deprecated, will be removed namespace cdec { enum InputType { kSEQUENCE, kTREE, kLATTICE, kFOREST, kUNKNOWN }; @@ -17,7 +17,7 @@ class TreeFragment; class SentenceMetadata { public: - friend class DecoderImpl; + friend struct DecoderImpl; SentenceMetadata(int id, const Lattice& ref) : sent_id_(id), src_len_(-1), -- cgit v1.2.3