Select Git revision
-
Do not delete an object of derived class type through a pointer to its base class type that has a non-virtual destructor. Instead, the base class should be defined with a virtual destructor. Deleting an object through a pointer to a type without a virtual destructor results in undefined behavior. Change-Id: I5a9f1ade5d67056f9ebc2865bd3c1c17fe197fcf Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
Do not delete an object of derived class type through a pointer to its base class type that has a non-virtual destructor. Instead, the base class should be defined with a virtual destructor. Deleting an object through a pointer to a type without a virtual destructor results in undefined behavior. Change-Id: I5a9f1ade5d67056f9ebc2865bd3c1c17fe197fcf Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.