Raytracing: Replace C cast
This commit is contained in:
committed by
Chris Hennes
parent
4bf23b89b7
commit
03cba01da4
@@ -48,7 +48,7 @@ PROPERTY_SOURCE(Raytracing::RaySegment, App::DocumentObject)
|
||||
|
||||
RaySegment::RaySegment(void)
|
||||
{
|
||||
App::PropertyType type = (App::PropertyType)(App::Prop_Output|App::Prop_Hidden);
|
||||
App::PropertyType type = static_cast<App::PropertyType>((App::Prop_Output|App::Prop_Hidden));
|
||||
ADD_PROPERTY_TYPE(Result ,(nullptr),0,type,"Resulting SVG fragment of that view");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user