diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 20:09:59 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 20:19:01 +0200 |
| commit | 6c287673ed3163d70ced1ec067526758337fa67c (patch) | |
| tree | 2a542b3ce7ddfd73e3a2c9a02fb57fae4c31ffd4 /test/unit_tests/resource.cpp | |
| parent | update .git-blame-ignore-revs (diff) | |
| download | winapi-common-6c287673ed3163d70ced1ec067526758337fa67c.tar.gz winapi-common-6c287673ed3163d70ced1ec067526758337fa67c.zip | |
boost::format -> std::format
Diffstat (limited to '')
| -rw-r--r-- | test/unit_tests/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_tests/resource.cpp b/test/unit_tests/resource.cpp index 2f63703..bdba55f 100644 --- a/test/unit_tests/resource.cpp +++ b/test/unit_tests/resource.cpp @@ -8,20 +8,20 @@ #include <winapi/process.hpp> #include <winapi/utf8.hpp> -#include <boost/format.hpp> #include <boost/test/unit_test.hpp> #include <cstdint> using namespace winapi; +#include <format> #include <ostream> #include <vector> namespace std { ostream& operator<<(ostream& os, unsigned char c) { - return os << boost::format("%|1$02x|") % static_cast<uint32_t>(c); + return os << std::format("{:02x}", static_cast<uint32_t>(c)); } ostream& operator<<(ostream& os, const vector<unsigned char>& cs) { |
