Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast This aligns our custom cast with other casts * All: Use explicit pointer syntax for freecad_cast
This commit is contained in:
@@ -145,7 +145,7 @@ void DemoMode::hideEvent(QHideEvent*)
|
||||
Gui::View3DInventor* DemoMode::activeView() const
|
||||
{
|
||||
if (Document* doc = Application::Instance->activeDocument()) {
|
||||
return freecad_cast<Gui::View3DInventor>(doc->getActiveView());
|
||||
return freecad_cast<Gui::View3DInventor*>(doc->getActiveView());
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user