From 47f36b8062fb2c72144682401dea35b4f4d1333d Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Wed, 9 Jan 2013 20:16:45 +0000 Subject: Old Boost #include also type qualifier --- klm/search/vertex.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'klm/search/vertex.hh') diff --git a/klm/search/vertex.hh b/klm/search/vertex.hh index 10b3339b..ca9a4fcd 100644 --- a/klm/search/vertex.hh +++ b/klm/search/vertex.hh @@ -65,7 +65,7 @@ class VertexNode { } // Will be invalid unless this is a leaf. - const History End() const { return end_; } + History End() const { return end_; } const VertexNode &operator[](size_t index) const { return *extend_[index]; @@ -124,7 +124,7 @@ class PartialVertex { return ret; } - const History End() const { + History End() const { return back_->End(); } @@ -141,7 +141,7 @@ class Vertex { PartialVertex RootPartial() const { return PartialVertex(root_); } - const History BestChild() const { + History BestChild() const { PartialVertex top(RootPartial()); if (top.Empty()) { return History(); -- cgit v1.2.3