lib/fmt/SocketAddressFormatter: simpler template syntax

This commit is contained in:
Max Kellermann 2024-04-16 11:02:25 +02:00
parent 7198db758d
commit 0d8498f1d1
1 changed files with 1 additions and 2 deletions

View File

@ -10,8 +10,7 @@
#include <concepts>
template<typename T>
requires std::convertible_to<T, SocketAddress>
template<std::convertible_to<SocketAddress> T>
struct fmt::formatter<T> : formatter<string_view>
{
template<typename FormatContext>