[webkit-reviews] review requested: [Bug 178528] Use "= default" to denote default constructor or destructor : [Attachment 324261] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 19 12:13:23 PDT 2017


Daniel Bates <dbates at webkit.org> has asked  for review:
Bug 178528: Use "= default" to denote default constructor or destructor
https://bugs.webkit.org/show_bug.cgi?id=178528

Attachment 324261: Patch

https://bugs.webkit.org/attachment.cgi?id=324261&action=review




--- Comment #1 from Daniel Bates <dbates at webkit.org> ---
Created attachment 324261

  --> https://bugs.webkit.org/attachment.cgi?id=324261&action=review

Patch

This a large change. ItIt is entirely mechanical. Mark default constructors and
destructors with "= default" and remove their body. With the exception of
Payment.h I left unnecesary explicit declarations of constructors and
destructors in the code to keep this patch as consistent as possible to
hopefully make it easy to review. In a follow up patch we can remove such
declarations as the compiler will generate these functions for us.


More information about the webkit-reviews mailing list