From 0e739755b7d589eabd0cfb38edf32725e360118b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sat, 4 Jun 2016 18:08:34 +0200 Subject: [PATCH] Making References transparent by forwarding visitors to their referee. --- include/plasp/pddl/expressions/Reference.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/plasp/pddl/expressions/Reference.h b/include/plasp/pddl/expressions/Reference.h index b41879a..2fe26e2 100644 --- a/include/plasp/pddl/expressions/Reference.h +++ b/include/plasp/pddl/expressions/Reference.h @@ -58,7 +58,7 @@ Reference::Reference(const Type *value) template void Reference::accept(plasp::pddl::ExpressionVisitor &expressionVisitor) const { - expressionVisitor.visit(*this); + expressionVisitor.visit(*m_value); } ////////////////////////////////////////////////////////////////////////////////////////////////////