Skip to content

Commit

Permalink
Add new line to to_string method
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 22, 2024
1 parent 2b05d6a commit 2175056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xtd.core/src/xtd/diagnostics/stack_trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ string stack_trace::to_string(size_t skip_frames, const stack_frame& stack_frame
if (index == skip_frames && stack_frame != stack_frame::empty()) str += string::format(" in {}:line {}", stack_frame.get_file_name(), stack_frame.get_file_line_number());
else if (!data_->frames[index].get_file_name().empty()) str += string::format(" in {}:line {}", data_->frames[index].get_file_name(), data_->frames[index].get_file_line_number());
}
str += environment::new_line();
return str;
}

0 comments on commit 2175056

Please sign in to comment.