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); } ////////////////////////////////////////////////////////////////////////////////////////////////////