summaryrefslogtreecommitdiff
path: root/klm/search/vertex.hh
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-01-21 12:29:43 +0100
committerPatrick Simianer <p@simianer.de>2013-01-21 12:29:43 +0100
commit50f22047eb1b7f2d60e85cdcf0fcd86342e50523 (patch)
tree730dabaf2fa57b1e4536d40f036b46795d37f289 /klm/search/vertex.hh
parent8b399cb09513cd79ed4182be9f75882c1e1b336a (diff)
parent608886384da40aedfabd629c882b8ea9b3f6348e (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'klm/search/vertex.hh')
-rw-r--r--klm/search/vertex.hh6
1 files changed, 3 insertions, 3 deletions
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();