Closed jvilk-stripe closed 5 years ago
Adds an empty virtual destructor to HolderBase. Avoids undefined behavior.
"Deleting a derived class object using a pointer to a base class that has a non-virtual destructor results in undefined behavior."
Adds an empty virtual destructor to HolderBase. Avoids undefined behavior.
"Deleting a derived class object using a pointer to a base class that has a non-virtual destructor results in undefined behavior."