lib/fmt/SocketAddressFormatter: simpler template syntax
This commit is contained in:
parent
7198db758d
commit
0d8498f1d1
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue