Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
c254c0cd
Commit
c254c0cd
authored
Jan 03, 2018
by
David Bommes
Browse files
fixed dynamic cast issue on mac
parent
a425eafc
Pipeline
#6012
passed with stage
in 4 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenVolumeMesh/Core/ResourceManager.hh
View file @
c254c0cd
...
...
@@ -256,9 +256,18 @@ private:
}
PropIterT
it
=
_begin
;
for
(;
it
!=
_end
;
++
it
)
{
if
((
*
it
)
->
name
()
==
_name
&&
dynamic_cast
<
FullPropT
*>
(
*
it
)
!=
NULL
)
{
return
true
;
for
(;
it
!=
_end
;
++
it
)
{
if
((
*
it
)
->
name
()
==
_name
)
{
#if OVM_FORCE_STATIC_CAST
return
true
;
#else
if
(
dynamic_cast
<
FullPropT
*>
(
*
it
)
!=
NULL
)
{
return
true
;
}
#endif
}
}
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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