Fix -Wreturn-local-addr warning in event_t::view()
This commit is contained in:
+1
-1
@@ -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 };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user