Skip to content

make getRefinementType a static function

Simon Praetorius requested to merge issue/static-get-refinement-type into master

Summary

The function getRefinementType is called in the invokation of the BaseClass constructor. This is not allowed for member functions since the class is not yet constructed. By making this function static the issue is resolved. It is reported by an address sanitizer.

runtime error: member call on address 0x61500000be80 which does not point to an object of type 'ALUGrid'
0x615000009e00: note: object has invalid vptr

Merge request reports

Loading