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:
@@ -414,7 +414,7 @@ bool GroupExtension::extensionGetSubObject(DocumentObject*& ret,
|
||||
{
|
||||
const char* dot;
|
||||
if (!subname || *subname == 0) {
|
||||
auto obj = freecad_cast<const DocumentObject>(getExtendedContainer());
|
||||
auto obj = freecad_cast<const DocumentObject*>(getExtendedContainer());
|
||||
ret = const_cast<DocumentObject*>(obj);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user