mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-16 16:21:02 +00:00
Fix -Wreturn-local-addr warning in event_t::view()
This commit is contained in:
parent
328a300550
commit
e62d6915db
@ -82,7 +82,7 @@ namespace safe {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// pop and view should not be used interchangeably
|
// pop and view should not be used interchangeably
|
||||||
const status_t &
|
status_t
|
||||||
view() {
|
view() {
|
||||||
std::unique_lock ul { _lock };
|
std::unique_lock ul { _lock };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user