Fix a couple file endings and also make note of lazy_trace_holder::get_raw_trace in the readme

This commit is contained in:
Jeremy Rifkin 2024-08-21 00:07:36 -05:00
parent 4dcfdf5281
commit 31ebb3ca23
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
test --strip=never test --strip=never
test --test_output=all test --test_output=all
test --copt=-g test --copt=-g

2
.gitignore vendored
View File

@ -6,4 +6,4 @@ __pycache__
scratch scratch
.vscode .vscode
tmp tmp
bazel-* bazel-*

View File

@ -754,6 +754,7 @@ namespace cpptrace {
lazy_trace_holder& operator=(lazy_trace_holder&& other) noexcept; lazy_trace_holder& operator=(lazy_trace_holder&& other) noexcept;
~lazy_trace_holder(); ~lazy_trace_holder();
// access // access
const raw_trace& get_raw_trace() const;
stacktrace& get_resolved_trace(); stacktrace& get_resolved_trace();
const stacktrace& get_resolved_trace() const; // throws if not already resolved const stacktrace& get_resolved_trace() const; // throws if not already resolved
private: private: