mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Fix -Wreturn-local-addr warning in event_t::view()
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user