Changeset 221666 in webkit
- Timestamp:
- Sep 6, 2017 12:23:38 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r221661 r221666 1 2017-09-06 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> 2 3 [Win] Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp fails to compile with MSVC 2015 4 https://bugs.webkit.org/show_bug.cgi?id=176442 5 6 Reviewed by Keith Miller. 7 8 * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp: 9 (TEST): 10 1 11 2017-09-05 Darin Adler <darin@apple.com> 2 12 -
trunk/Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp
r220567 r221666 57 57 { 58 58 const unsigned numElements = 10; 59 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 60 PriorityQueue<unsigned, isLessThan<unsigned>> queue; 61 #else 59 62 PriorityQueue<unsigned> queue; 63 #endif 60 64 61 65 EXPECT_EQ(0_z, queue.size()); … … 77 81 { 78 82 const unsigned numElements = 10; 83 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 84 PriorityQueue<unsigned, isGreaterThan<unsigned>> queue; 85 #else 79 86 PriorityQueue<unsigned, &isGreaterThan<unsigned>> queue; 87 #endif 80 88 81 89 EXPECT_EQ(0_z, queue.size()); … … 107 115 TEST(WTF_PriorityQueue, MoveOnly) 108 116 { 117 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 118 PriorityQueue<MoveOnly, &CompareMove<isLessThan<unsigned>>::compare> queue; 119 #else 109 120 PriorityQueue<MoveOnly, &CompareMove<&isLessThan<unsigned>>::compare> queue; 121 #endif 110 122 111 123 Vector<unsigned> values = { 23, 54, 4, 8, 1, 2, 4, 0 }; … … 124 136 TEST(WTF_PriorityQueue, DecreaseKey) 125 137 { 138 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 139 PriorityQueue<MoveOnly, &CompareMove<isLessThan<unsigned>>::compare> queue; 140 #else 126 141 PriorityQueue<MoveOnly, &CompareMove<&isLessThan<unsigned>>::compare> queue; 142 #endif 127 143 128 144 Vector<unsigned> values = { 23, 54, 4, 8, 1, 2, 4, 0 }; … … 150 166 TEST(WTF_PriorityQueue, IncreaseKey) 151 167 { 168 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 169 PriorityQueue<MoveOnly, &CompareMove<isGreaterThan<unsigned>>::compare> queue; 170 #else 152 171 PriorityQueue<MoveOnly, &CompareMove<&isGreaterThan<unsigned>>::compare> queue; 172 #endif 153 173 154 174 Vector<unsigned> values = { 23, 54, 4, 8, 1, 2, 4, 0 }; … … 176 196 TEST(WTF_PriorityQueue, Iteration) 177 197 { 198 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 199 PriorityQueue<MoveOnly, CompareMove<isGreaterThan<unsigned>>::compare> queue; 200 #else 178 201 PriorityQueue<MoveOnly, &CompareMove<&isGreaterThan<unsigned>>::compare> queue; 202 #endif 179 203 180 204 Vector<unsigned> values = { 23, 54, 4, 8, 1, 2, 4, 0 }; … … 208 232 }; 209 233 234 #if defined(_MSC_VER) && _MSC_VER < 1910 // FIXME: Remove this workaround after we drop MSVC 2015 support (https://bugs.webkit.org/show_bug.cgi?id=176443). 235 PriorityQueue<uint64_t, isLessThan<uint64_t>> queue; 236 #else 210 237 PriorityQueue<uint64_t> queue; 238 #endif 211 239 Vector<uint64_t> values; 212 240
Note: See TracChangeset
for help on using the changeset viewer.