Skip to content

Commit 9578700

Browse files
Apply suggestion from @philnik777
Co-authored-by: Nikolas Klauser <[email protected]>
1 parent 3acb6d8 commit 9578700

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
@@ -50,7 +50,7 @@ _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_clock_v = requires {
5050
requires __is_ratio_v<typename _Tp::period>;
5151

5252
typename _Tp::duration;
53-
requires _IsSame<typename _Tp::duration, duration<typename _Tp::rep, typename _Tp::period>>::value;
53+
requires same_as<typename _Tp::duration, duration<typename _Tp::rep, typename _Tp::period>>;
5454

5555
typename _Tp::time_point;
5656
requires __is_valid_clock_time_point_v<typename _Tp::time_point, _Tp>;

0 commit comments

Comments
 (0)