This patch fixes a few cases where a default destructor would not be
generated due to a member variable having an inaccessible default
destructor.  While the original code was correct, the updated code is
a bit more clear.  Assuming that this new code is acceptable, this
also re-enables the C4624 MSVC warning (''derived class' : destructor
could not be generated because a base class destructor is
inaccessible').

~Aaron

Attachment: p1.patch
Description: Binary data

Attachment: p2.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to