WebKit Bugzilla
Attachment 369543 Details for
Bug 197767
: [WTF] Remove "private:" from Noncopyable and Nonmovable macros
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197767-20190509214538.patch (text/plain), 1.70 KB, created by
Yusuke Suzuki
on 2019-05-09 21:45:39 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Yusuke Suzuki
Created:
2019-05-09 21:45:39 PDT
Size:
1.70 KB
patch
obsolete
>Subversion Revision: 245169 >diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog >index bae84b7d709b9062620e3d8317f1211a4ff12e64..4edc3a40b5a67edb7c69832b952c93fb49c4fe0a 100644 >--- a/Source/WTF/ChangeLog >+++ b/Source/WTF/ChangeLog >@@ -1,3 +1,15 @@ >+2019-05-09 Yusuke Suzuki <ysuzuki@apple.com> >+ >+ [WTF] Remove "private:" from Noncopyable and Nonmovable macros >+ https://bugs.webkit.org/show_bug.cgi?id=197767 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ We no longer need "private:". >+ >+ * wtf/Noncopyable.h: >+ * wtf/Nonmovable.h: >+ > 2019-05-08 Zan Dobersek <zdobersek@igalia.com> > > [GLib] Rework WPE RunLoopSourcePriority values >diff --git a/Source/WTF/wtf/Noncopyable.h b/Source/WTF/wtf/Noncopyable.h >index d82b20181377012a7dfe0ad9036af1b7f098df7f..566e80b9c3f786fdb4077ebe8698fd65af09c9bf 100644 >--- a/Source/WTF/wtf/Noncopyable.h >+++ b/Source/WTF/wtf/Noncopyable.h >@@ -21,7 +21,6 @@ > #pragma once > > #define WTF_MAKE_NONCOPYABLE(ClassName) \ >- private: \ >- ClassName(const ClassName&) = delete; \ >- ClassName& operator=(const ClassName&) = delete; \ >+ ClassName(const ClassName&) = delete; \ >+ ClassName& operator=(const ClassName&) = delete; \ > >diff --git a/Source/WTF/wtf/Nonmovable.h b/Source/WTF/wtf/Nonmovable.h >index 4c1034b2b72f6508bda1b06877a1747c7b500d1d..7e1a331bc06aed2bd40216842ca3f1899e9c97f2 100644 >--- a/Source/WTF/wtf/Nonmovable.h >+++ b/Source/WTF/wtf/Nonmovable.h >@@ -26,7 +26,6 @@ > #pragma once > > #define WTF_MAKE_NONMOVABLE(ClassName) \ >- private: \ >- ClassName(ClassName&&) = delete; \ >- ClassName& operator=(ClassName&&) = delete; \ >+ ClassName(ClassName&&) = delete; \ >+ ClassName& operator=(ClassName&&) = delete; \ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197767
: 369543