| 722 | |
| 723 | public: |
| 724 | AbstractState() : _fluid_type(FLUID_TYPE_UNDEFINED), _phase(iphase_unknown) { |
| 725 | // Explicit scope: a virtual `clear()` call from the base ctor |
| 726 | // would dispatch to this class anyway (derived overrides aren't |
| 727 | // active yet), so call it directly to make that intent visible |
| 728 | // and silence clang-analyzer-optin.cplusplus.VirtualCall. |
| 729 | AbstractState::clear(); |
| 730 | } |
| 731 | virtual ~AbstractState() = default; |
| 732 | |
| 733 | /// A factory function to return a pointer to a new-allocated instance of one of the backends. |
no outgoing calls