Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xdmf
Xdmf
Commits
e0c4fa30
Commit
e0c4fa30
authored
Nov 24, 2010
by
Brian Panneton
Browse files
FIX: Removed dynamic cast to prevent SWIG java conversion problems
parent
f3e961e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/loki/Visitor.h
View file @
e0c4fa30
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment