summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index dcef3e55979..f7c3b70b00e 100644
--- a/libcxx/include/exception
+++ b/libcxx/include/exception
@@ -132,7 +132,7 @@ public:
~exception_ptr() _NOEXCEPT;
_LIBCPP_INLINE_VISIBILITY
- // explicit
+ _LIBCPP_EXPLICIT
operator bool() const _NOEXCEPT {return __ptr_ != nullptr;}
friend _LIBCPP_INLINE_VISIBILITY
OpenPOWER on IntegriCloud