Skip to content

Commit

Permalink
expose underlying address of frame_ptr in async_stack (#638)
Browse files Browse the repository at this point in the history
expose the underlying address of frame_ptr

Co-authored-by: Riley Berton <[email protected]>
  • Loading branch information
rileyberton and Riley Berton authored Oct 21, 2024
1 parent 6b62b6f commit eb28e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/unifex/tracing/async_stack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ struct frame_ptr {
return frame_ptr{p};
}

explicit operator void*() const noexcept {
return p_;
}

private:
void* p_;

Expand Down

0 comments on commit eb28e28

Please sign in to comment.