Making References transparent by forwarding visitors to their referee.
This commit is contained in:
parent
f8eab1cbb6
commit
0e739755b7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user