Skip to content

Commit 7f45ef0

Browse files
Apply suggestion from @philnik777
Co-authored-by: Nikolas Klauser <[email protected]>
1 parent 66278d5 commit 7f45ef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__chrono/is_clock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ class time_point;
3434

3535
// Helper to check that _Tp::time_point has the form time_point<_, typename _Tp::duration>.
3636
template <class _TimePoint, class _ClockType>
37-
constexpr bool __is_valid_clock_time_point_v = false;
37+
inline constexpr bool __is_valid_clock_time_point_v = false;
3838

3939
template <class _TimePointClock, class _ClockType>
40-
constexpr bool __is_valid_clock_time_point_v<time_point<_TimePointClock, typename _ClockType::duration>, _ClockType> =
40+
inline constexpr bool __is_valid_clock_time_point_v<time_point<_TimePointClock, typename _ClockType::duration>, _ClockType> =
4141
true;
4242

4343
// Check if a clock satisfies the Cpp17Clock requirements as defined in [time.clock.req]

0 commit comments

Comments
 (0)