Commit e0c4fa30 authored by Brian Panneton's avatar Brian Panneton
Browse files

FIX: Removed dynamic cast to prevent SWIG java conversion problems

parent f3e961e3
......@@ -263,7 +263,7 @@ struct DefaultCatchAll
static ReturnType acceptImpl(T& visited, const boost::shared_ptr<BaseVisitor> guest)
// Apply the Acyclic Visitor
if (Visitor<T,R>* p = dynamic_cast<Visitor<T,R>*>(guest.get()))
if (Visitor<T,R>* p = (Visitor<T,R>*)(guest.get()))
return p->visit(visited, guest);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment