[Win] Warning fix.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Aug 2016 16:35:26 +0000 (16:35 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Aug 2016 16:35:26 +0000 (16:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=161236

Reviewed by Brent Fulgham.

The & operator in the Test struct has no body.

* TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205016 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WTF/Vector.cpp

index 59529fd..ab05c05 100644 (file)
@@ -1,3 +1,15 @@
+2016-08-26  Per Arne Vollan  <pvollan@apple.com>
+
+        [Win] Warning fix.
+        https://bugs.webkit.org/show_bug.cgi?id=161236
+
+        Reviewed by Brent Fulgham.
+
+        The & operator in the Test struct has no body.
+
+        * TestWebKitAPI/Tests/WTF/Vector.cpp:
+        (TestWebKitAPI::TEST):
+
 2016-08-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
 
         [GTK] run-gtk-tests should use webkitpy.port.gtk and webkitpy.port.xvfbdriver
index 6567ac5..48235b1 100644 (file)
@@ -67,7 +67,7 @@ TEST(WTF_Vector, OverloadedOperatorAmpersand)
 {
     struct Test {
     private:
-        Test* operator&();
+        Test* operator&() = delete;
     };
 
     Vector<Test> vector;