contrib/spdlog/spdlog-1.8.5-fmt8_tests.patch

23 lines
720 B
Diff

From 5887744d8b6ddaa3044d1c59f06e2cf24b8e0349 Mon Sep 17 00:00:00 2001
From: gabime <gmelman1@gmail.com>
Date: Thu, 24 Jun 2021 15:58:25 +0300
Subject: [PATCH] Fixed bin2hex to work with fmt v8
---
include/spdlog/fmt/bin_to_hex.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h
index 1e2b054b1..45bc8f7d8 100644
--- a/include/spdlog/fmt/bin_to_hex.h
+++ b/include/spdlog/fmt/bin_to_hex.h
@@ -209,7 +209,7 @@ struct formatter<spdlog::details::dump_info<T>>
if (put_positions)
{
- fmt::format_to(inserter, "{:<04X}: ", pos);
+ fmt::format_to(inserter, "{:04X}: ", pos);
}
}
};