Skip to content

Commit

Permalink
BACKWARD: Make line format compatible with compilers and editors
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed May 5, 2024
1 parent 8d154cc commit b605db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/libs/backward/backward.h
Original file line number Diff line number Diff line change
Expand Up @@ -4157,8 +4157,8 @@ class Printer {
void print_source_loc(std::ostream &os, const char *indent,
const ResolvedTrace::SourceLoc &source_loc,
void *addr = nullptr) {
os << indent << "Source \"" << source_loc.filename << "\", line "
<< source_loc.line << ", in " << source_loc.function;
os << indent << "Source \"" << source_loc.filename << ":" << source_loc.line
<< "\", in " << source_loc.function;

if (address && addr != nullptr) {
os << " [" << addr << "]";
Expand Down

0 comments on commit b605db1

Please sign in to comment.