Commit c254c0cd authored by David Bommes's avatar David Bommes

fixed dynamic cast issue on mac

parent a425eafc
Pipeline #6012 passed with stage
in 4 minutes and 2 seconds
...@@ -256,9 +256,18 @@ private: ...@@ -256,9 +256,18 @@ private:
} }
PropIterT it = _begin; PropIterT it = _begin;
for(; it != _end; ++it) { for(; it != _end; ++it)
if((*it)->name() == _name && dynamic_cast<FullPropT*>(*it) != NULL) { {
return true; if((*it)->name() == _name )
{
#if OVM_FORCE_STATIC_CAST
return true;
#else
if(dynamic_cast<FullPropT*>(*it) != NULL)
{
return true;
}
#endif
} }
} }
return false; return false;
......
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