From 04ba2f94eebb337b4e397008cbca387f9d76a361 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 20:15:07 +0200 Subject: boost::format -> std::format --- test/convert.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/convert.cpp b/test/convert.cpp index fded6ba..66142ae 100644 --- a/test/convert.cpp +++ b/test/convert.cpp @@ -5,8 +5,6 @@ #include -#include - // clang-format off // The order matters for older Boost versions. #include @@ -14,6 +12,7 @@ #include // clang-format on +#include #include #include #include @@ -21,7 +20,7 @@ namespace std { ostream& operator<<(ostream& os, unsigned char c) { - return os << boost::format("%|1$02x|") % static_cast(c); + return os << std::format("{:02x}", static_cast(c)); } ostream& operator<<(ostream& os, const vector& cs) { -- cgit v1.3