Fix -Wreturn-local-addr warning in event_t::view()

This commit is contained in:
Cameron Gutman 2024-02-02 19:28:55 -06:00
parent 328a300550
commit e62d6915db

View File

@ -82,7 +82,7 @@ namespace safe {
}
// pop and view should not be used interchangeably
const status_t &
status_t
view() {
std::unique_lock ul { _lock };