Skip to content

Commit 3acb6d8

Browse files
Apply suggestion from @frederick-vs-ja
Co-authored-by: A. Jiang <[email protected]>
1 parent 1ddf576 commit 3acb6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__chrono/is_clock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_clock_v = requires {
5656
requires __is_valid_clock_time_point_v<typename _Tp::time_point, _Tp>;
5757

5858
_Tp::is_steady;
59-
requires _IsSame<decltype(_Tp::is_steady), const bool>::value;
59+
requires same_as<decltype((_Tp::is_steady)), const bool&>;
6060

6161
_Tp::now();
6262
requires _IsSame<decltype(_Tp::now()), typename _Tp::time_point>::value;

0 commit comments

Comments
 (0)