Fix -Wreturn-local-addr warning in event_t::view()
This commit is contained in:
parent
328a300550
commit
e62d6915db
1 changed files with 1 additions and 1 deletions
|
|
@ -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 };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue