diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-09-23 04:16:48 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-09-23 04:16:48 +0000 |
commit | d8ac51ab8fde3dbf7d55e5940584019330991dd7 (patch) | |
tree | 31b44405a07675d2ba7605ebaf270edec153e82d /libcxx/include | |
parent | 457226e02a6e8533eaaa864a3fd7c8eeccd2bf58 (diff) | |
download | bcm5719-llvm-d8ac51ab8fde3dbf7d55e5940584019330991dd7.tar.gz bcm5719-llvm-d8ac51ab8fde3dbf7d55e5940584019330991dd7.zip |
Extension: Mark the default constructor of chrono::duration as conditionally noexcept
llvm-svn: 372539
Diffstat (limited to 'libcxx/include')
-rw-r--r-- | libcxx/include/chrono | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/chrono b/libcxx/include/chrono index 0e4cf9aef3a..a3d1e1a1187 100644 --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -1063,7 +1063,7 @@ public: _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR #ifndef _LIBCPP_CXX03_LANG - duration() = default; + duration() noexcept(noexcept(_Rep())) = default; #else duration() {} #endif |