Title: [235661] trunk/Source/WTF
- Revision
- 235661
- Author
- [email protected]
- Date
- 2018-09-05 00:52:17 -0700 (Wed, 05 Sep 2018)
Log Message
Remove unused bad_optional_access implementation.
https://bugs.webkit.org/show_bug.cgi?id=189297
Reviewed by David Kilzer.
This is a speculative fix for resolving build errors arising from conflicting
definitions of bad_optional_access when building WebKit with the latest clang.
* wtf/Optional.h:
(std::bad_optional_access::bad_optional_access): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (235660 => 235661)
--- trunk/Source/WTF/ChangeLog 2018-09-05 06:50:13 UTC (rev 235660)
+++ trunk/Source/WTF/ChangeLog 2018-09-05 07:52:17 UTC (rev 235661)
@@ -1,3 +1,16 @@
+2018-09-05 Mark Lam <[email protected]>
+
+ Remove unused bad_optional_access implementation.
+ https://bugs.webkit.org/show_bug.cgi?id=189297
+
+ Reviewed by David Kilzer.
+
+ This is a speculative fix for resolving build errors arising from conflicting
+ definitions of bad_optional_access when building WebKit with the latest clang.
+
+ * wtf/Optional.h:
+ (std::bad_optional_access::bad_optional_access): Deleted.
+
2018-09-04 Michael Saboff <[email protected]>
YARR: JIT RegExps with back references
Modified: trunk/Source/WTF/wtf/Optional.h (235660 => 235661)
--- trunk/Source/WTF/wtf/Optional.h 2018-09-05 06:50:13 UTC (rev 235660)
+++ trunk/Source/WTF/wtf/Optional.h 2018-09-05 07:52:17 UTC (rev 235661)
@@ -277,14 +277,6 @@
constexpr nullopt_t nullopt{nullopt_t::init()};
-// 20.5.8, class bad_optional_access
-class bad_optional_access : public std::logic_error {
-public:
- explicit bad_optional_access(const std::string& what_arg) : std::logic_error{what_arg} {}
- explicit bad_optional_access(const char* what_arg) : std::logic_error{what_arg} {}
-};
-
-
template <class T>
union storage_t
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes