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<Type>::Reference(const Type *value) template<class Type> void Reference<Type>::accept(plasp::pddl::ExpressionVisitor &expressionVisitor) const { - expressionVisitor.visit(*this); + expressionVisitor.visit(*m_value); } ////////////////////////////////////////////////////////////////////////////////////////////////////