Title: [174195] trunk/Source/WTF
Revision
174195
Author
cdu...@apple.com
Date
2014-10-01 19:11:07 -0700 (Wed, 01 Oct 2014)

Log Message

Unreviewed build fix after r174193.

Adding a return statement as that function is returning a boolean.

* wtf/TypeCasts.h:
(WTF::TypeCastTraits::isOfType):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (174194 => 174195)


--- trunk/Source/WTF/ChangeLog	2014-10-02 01:58:43 UTC (rev 174194)
+++ trunk/Source/WTF/ChangeLog	2014-10-02 02:11:07 UTC (rev 174195)
@@ -1,5 +1,14 @@
 2014-10-01  Christophe Dumez  <cdu...@apple.com>
 
+        Unreviewed build fix after r174193.
+
+        Adding a return statement as that function is returning a boolean.
+
+        * wtf/TypeCasts.h:
+        (WTF::TypeCastTraits::isOfType):
+
+2014-10-01  Christophe Dumez  <cdu...@apple.com>
+
         Fail better when is<>() / downcast<>() is used for an unsupported type
         https://bugs.webkit.org/show_bug.cgi?id=137323
 

Modified: trunk/Source/WTF/wtf/TypeCasts.h (174194 => 174195)


--- trunk/Source/WTF/wtf/TypeCasts.h	2014-10-02 01:58:43 UTC (rev 174194)
+++ trunk/Source/WTF/wtf/TypeCasts.h	2014-10-02 02:11:07 UTC (rev 174195)
@@ -40,6 +40,7 @@
         // to add that specialization:
         // SPECIALIZE_TYPE_TRAITS_BEGIN() / SPECIALIZE_TYPE_TRAITS_END()
         static_assert(std::is_void<ExpectedType>::value, "Missing TypeCastTraits specialization");
+        return false;
     }
 };
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to