Title: [173043] trunk/Source/WTF
- Revision
- 173043
- Author
- tha...@chromium.org
- Date
- 2014-08-27 18:40:08 -0700 (Wed, 27 Aug 2014)
Log Message
Delete a MSVS2010 workaround.
https://bugs.webkit.org/show_bug.cgi?id=136321
Reviewed by Benjamin Poulain.
Ports https://codereview.chromium.org/512923004/ by the talented
Nico Weber from Blink. No intended behavior change.
* wtf/Vector.h:
(WTF::=):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (173042 => 173043)
--- trunk/Source/WTF/ChangeLog 2014-08-28 01:35:02 UTC (rev 173042)
+++ trunk/Source/WTF/ChangeLog 2014-08-28 01:40:08 UTC (rev 173043)
@@ -1,3 +1,16 @@
+2014-08-27 Nico Weber <tha...@chromium.org>
+
+ Delete a MSVS2010 workaround.
+ https://bugs.webkit.org/show_bug.cgi?id=136321
+
+ Reviewed by Benjamin Poulain.
+
+ Ports https://codereview.chromium.org/512923004/ by the talented
+ Nico Weber from Blink. No intended behavior change.
+
+ * wtf/Vector.h:
+ (WTF::=):
+
2014-08-27 Mark Rowe <mr...@apple.com>
_javascript_Core is missing debug info for WTF because libWTF.a is stripped.
Modified: trunk/Source/WTF/wtf/Vector.h (173042 => 173043)
--- trunk/Source/WTF/wtf/Vector.h 2014-08-28 01:35:02 UTC (rev 173042)
+++ trunk/Source/WTF/wtf/Vector.h 2014-08-28 01:40:08 UTC (rev 173043)
@@ -771,12 +771,6 @@
ASSERT(begin());
}
-// Works around an assert in VS2010. See https://connect.microsoft.com/VisualStudio/feedback/details/558044/std-copy-should-not-check-dest-when-first-last
-#if COMPILER(MSVC) && defined(_ITERATOR_DEBUG_LEVEL) && _ITERATOR_DEBUG_LEVEL
- if (!begin())
- return *this;
-#endif
-
std::copy(other.begin(), other.begin() + size(), begin());
TypeOperations::uninitializedCopy(other.begin() + size(), other.end(), end());
m_size = other.size();
@@ -803,12 +797,6 @@
ASSERT(begin());
}
-// Works around an assert in VS2010. See https://connect.microsoft.com/VisualStudio/feedback/details/558044/std-copy-should-not-check-dest-when-first-last
-#if COMPILER(MSVC) && defined(_ITERATOR_DEBUG_LEVEL) && _ITERATOR_DEBUG_LEVEL
- if (!begin())
- return *this;
-#endif
-
std::copy(other.begin(), other.begin() + size(), begin());
TypeOperations::uninitializedCopy(other.begin() + size(), other.end(), end());
m_size = other.size();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes