Making References transparent by forwarding visitors to their referee.

This commit is contained in:
Patrick Lühne 2016-06-04 18:08:34 +02:00
parent f8eab1cbb6
commit 0e739755b7

View File

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