diff --git a/libcxx/include/chrono b/libcxx/include/chrono index 08c40b5b0eff..fb26fb824ad3 100644 --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -418,9 +418,9 @@ public: _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR #ifndef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS - duration() {} -#else duration() = default; +#else + duration() {} #endif template