summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-09-23 06:16:41 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-09-23 06:16:41 +0000
commitab8f77a73e5407b07743f1e352853e7b7c4fde6c (patch)
tree24ef7133eb2846ce53eaf1e4fd0a1c7509de6e4e /libcxx/include
parent03b5a13ee32e577346dae13df86f29dd0e75580f (diff)
downloadbcm5719-llvm-ab8f77a73e5407b07743f1e352853e7b7c4fde6c.tar.gz
bcm5719-llvm-ab8f77a73e5407b07743f1e352853e7b7c4fde6c.zip
Revert "Extension: Mark the default constructor of chrono::duration as conditionally noexcept"; this breaks the gcc5 bot for C++11
This reverts commit c8ca15c95c4c0d6d1356500d5fe49a319ea4ca01. llvm-svn: 372546
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/chrono2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/chrono b/libcxx/include/chrono
index a3d1e1a1187..0e4cf9aef3a 100644
--- a/libcxx/include/chrono
+++ b/libcxx/include/chrono
@@ -1063,7 +1063,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
#ifndef _LIBCPP_CXX03_LANG
- duration() noexcept(noexcept(_Rep())) = default;
+ duration() = default;
#else
duration() {}
#endif
OpenPOWER on IntegriCloud