Title: [187339] trunk/Source/WTF
Revision
187339
Author
[email protected]
Date
2015-07-24 05:51:49 -0700 (Fri, 24 Jul 2015)

Log Message

Remove the unused GCC workaround - std::is_trivially_destructible
https://bugs.webkit.org/show_bug.cgi?id=147226

Reviewed by Darin Adler.

* wtf/StdLibExtras.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (187338 => 187339)


--- trunk/Source/WTF/ChangeLog	2015-07-24 12:06:34 UTC (rev 187338)
+++ trunk/Source/WTF/ChangeLog	2015-07-24 12:51:49 UTC (rev 187339)
@@ -1,3 +1,12 @@
+2015-07-24  Csaba Osztrogonác  <[email protected]>
+
+        Remove the unused GCC workaround - std::is_trivially_destructible
+        https://bugs.webkit.org/show_bug.cgi?id=147226
+
+        Reviewed by Darin Adler.
+
+        * wtf/StdLibExtras.h:
+
 2015-07-23  Alex Christensen  <[email protected]>
 
         Remove compile and runtime flags for promises.

Modified: trunk/Source/WTF/wtf/StdLibExtras.h (187338 => 187339)


--- trunk/Source/WTF/wtf/StdLibExtras.h	2015-07-24 12:06:34 UTC (rev 187338)
+++ trunk/Source/WTF/wtf/StdLibExtras.h	2015-07-24 12:51:49 UTC (rev 187339)
@@ -305,16 +305,6 @@
     return location;
 }
 
-#if (COMPILER(GCC) && !COMPILER(CLANG) && !GCC_VERSION_AT_LEAST(4, 8, 1))
-
-// Work-around for Pre-C++11 syntax in MSVC 2010, and prior as well as GCC < 4.8.1.
-namespace std {
-    template<class T> struct is_trivially_destructible {
-        static const bool value = std::has_trivial_destructor<T>::value;
-    };
-}
-#endif
-
 // This adds various C++14 features for versions of the STL that may not yet have them.
 namespace std {
 // MSVC 2013 supports std::make_unique already.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to