From 9d3cae1deeb940e2c55f2ca31b8f5e832c7e918d Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 1 May 2024 14:49:55 -0400 Subject: [PATCH] xo-indentlog: workaround unexpected ambiguity with hex() inserter --- include/xo/indentlog/print/hex.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/xo/indentlog/print/hex.hpp b/include/xo/indentlog/print/hex.hpp index 8f5f6f35..8a6517d5 100644 --- a/include/xo/indentlog/print/hex.hpp +++ b/include/xo/indentlog/print/hex.hpp @@ -109,7 +109,8 @@ namespace xo { for (std::uint8_t const * p = lo_; p < hi_; ++p) { if (i > 0) os << " "; - os << hex(*p, as_text_); + xo::hex(*p, as_text_).print(os); + //os << xo::hex(*p, as_text_); ++i; } os << "]";