From c8583a8b57714c1658b1a12353f8b7924b7627d4 Mon Sep 17 00:00:00 2001 From: Tsche <2440422+Tsche@users.noreply.github.com> Date: Fri, 28 Feb 2025 05:14:38 +0100 Subject: [PATCH] fix #221 --- src/formatting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatting.cpp b/src/formatting.cpp index 5758fdd..0f1652b 100644 --- a/src/formatting.cpp +++ b/src/formatting.cpp @@ -209,7 +209,7 @@ namespace cpptrace { const auto blue = color ? BLUE : ""; if(frame.is_inline) { microfmt::print(stream, "{<{}}", 2 * sizeof(frame_ptr) + 2, "(inlined)"); - } else { + } else if(options.addresses != address_mode::none) { auto address = options.addresses == address_mode::raw ? frame.raw_address : frame.object_address; microfmt::print(stream, "{}0x{>{}:0h}{}", blue, 2 * sizeof(frame_ptr), address, reset); }