summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/include/debug.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/include/debug.hpp b/src/util/include/debug.hpp
index 27fb2999..06e3833e 100644
--- a/src/util/include/debug.hpp
+++ b/src/util/include/debug.hpp
@@ -31,8 +31,8 @@ inline std::string format_hex_string(std::span<const std::byte> data) {
oss << " ";
}
int byte_val = (int)byte;
- oss << "[0x" << std::uppercase << std::setfill('0') << std::setw(2)
- << std::hex << byte_val << ']';
+ oss << std::uppercase << std::setfill('0') << std::setw(2) << std::hex
+ << byte_val << ' ';
if (byte_val >= 32 && byte_val < 127) {
ascii_values << (char)byte;
} else {