File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
test/std/time/time.point/time.point.arithmetic Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ class time_point {
6363 ++__d_;
6464 return *this ;
6565 }
66- _LIBCPP_HIDE_FROM_ABI constexpr time_point operator ++(int ) { return time_point ( __d_++) ; }
66+ _LIBCPP_HIDE_FROM_ABI constexpr time_point operator ++(int ) { return time_point{ __d_++} ; }
6767 _LIBCPP_HIDE_FROM_ABI constexpr time_point& operator --() {
6868 --__d_;
6969 return *this ;
7070 }
71- _LIBCPP_HIDE_FROM_ABI constexpr time_point operator --(int ) { return time_point ( __d_--) ; }
71+ _LIBCPP_HIDE_FROM_ABI constexpr time_point operator --(int ) { return time_point{ __d_--} ; }
7272#endif // _LIBCPP_STD_VER >= 20
7373
7474 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator +=(const duration& __d) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ constexpr bool test() {
2929}
3030
3131int main (int , char **) {
32- assert ( test () );
32+ test ();
3333 static_assert (test ());
3434 return 0 ;
3535}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ constexpr bool test() {
2929}
3030
3131int main (int , char **) {
32- assert ( test () );
32+ test ();
3333 static_assert (test ());
3434 return 0 ;
3535}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ constexpr bool test() {
2929}
3030
3131int main (int , char **) {
32- assert ( test () );
32+ test ();
3333 static_assert (test ());
3434 return 0 ;
3535}
You can’t perform that action at this time.
0 commit comments