Skip to content

Commit b24996f

Browse files
committed
2 parents 6bce409 + f146ef7 commit b24996f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/common.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ auto contains(
533533

534534

535535
// Print an integer with 1,000's separators (always commas, not locale-driven)
536-
auto print_with_thousands(std::integral auto val)
536+
template <typename T>
537+
requires std::is_integral_v<T> // Note: `std::integral` concept not yet available in Apple Clang
538+
auto print_with_thousands(T val)
537539
-> std::string
538540
{
539541
auto ret = std::to_string(val % 10);

0 commit comments

Comments
 (0)