Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenVolumeMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
c254c0cd
Commit
c254c0cd
authored
Jan 03, 2018
by
David Bommes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
src/OpenVolumeMesh/Core/ResourceManager.hh
src/OpenVolumeMesh/Core/ResourceManager.hh
+12
-3
No files found.
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
Markdown
is supported
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