Title: [245177] trunk/Source/WTF
Revision
245177
Author
[email protected]
Date
2019-05-10 09:56:31 -0700 (Fri, 10 May 2019)

Log Message

[WTF] Remove "private:" from Noncopyable and Nonmovable macros
https://bugs.webkit.org/show_bug.cgi?id=197767

Reviewed by Saam Barati.

We no longer need "private:".

* wtf/Noncopyable.h:
* wtf/Nonmovable.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (245176 => 245177)


--- trunk/Source/WTF/ChangeLog	2019-05-10 16:46:39 UTC (rev 245176)
+++ trunk/Source/WTF/ChangeLog	2019-05-10 16:56:31 UTC (rev 245177)
@@ -1,3 +1,15 @@
+2019-05-10  Yusuke Suzuki  <[email protected]>
+
+        [WTF] Remove "private:" from Noncopyable and Nonmovable macros
+        https://bugs.webkit.org/show_bug.cgi?id=197767
+
+        Reviewed by Saam Barati.
+
+        We no longer need "private:".
+
+        * wtf/Noncopyable.h:
+        * wtf/Nonmovable.h:
+
 2019-05-08  Zan Dobersek  <[email protected]>
 
         [GLib] Rework WPE RunLoopSourcePriority values

Modified: trunk/Source/WTF/wtf/Noncopyable.h (245176 => 245177)


--- trunk/Source/WTF/wtf/Noncopyable.h	2019-05-10 16:46:39 UTC (rev 245176)
+++ trunk/Source/WTF/wtf/Noncopyable.h	2019-05-10 16:56:31 UTC (rev 245177)
@@ -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; \
 

Modified: trunk/Source/WTF/wtf/Nonmovable.h (245176 => 245177)


--- trunk/Source/WTF/wtf/Nonmovable.h	2019-05-10 16:46:39 UTC (rev 245176)
+++ trunk/Source/WTF/wtf/Nonmovable.h	2019-05-10 16:56:31 UTC (rev 245177)
@@ -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; \
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to