Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

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);
}
......
Markdown is supported
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