Skip to content

Commit ab8f77a

Browse files
committed
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
1 parent 03b5a13 commit ab8f77a

File tree

2 files changed

+1
-48
lines changed

2 files changed

+1
-48
lines changed

libcxx/include/chrono

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ public:
10631063

10641064
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
10651065
#ifndef _LIBCPP_CXX03_LANG
1066-
duration() noexcept(noexcept(_Rep())) = default;
1066+
duration() = default;
10671067
#else
10681068
duration() {}
10691069
#endif

libcxx/test/libcxx/utilities/time/date.time/duration.noexcept.pass.cpp

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)