vcpkg/ports/libassert/cpptrace-0.4.1.patch

14 lines
764 B
Diff
Raw Normal View History

diff --git a/src/assert.cpp b/src/assert.cpp
index 8d4bd24..bd4bc58 100644
--- a/src/assert.cpp
+++ b/src/assert.cpp
@@ -1655,7 +1655,7 @@ namespace libassert::detail {
const size_t max_frame_width = n_digits(end - start);
// do the actual trace
for(size_t i = start; i <= end; i++) {
- const auto& [address, line, col, source_path, signature, is_inline] = trace.frames[i];
+ const auto& [raw_address, obj_address, line, col, source_path, signature, is_inline] = trace.frames[i];
const std::string line_number = line.has_value() ? std::to_string(line.value()) : "?";
// look for repeats, i.e. recursion we can fold
size_t recursion_folded = 0;