diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-08-31 15:09:15 +0100 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-09-16 11:56:25 -0400 |
| commit | 07b63b15ad88999703da44615761263f3fa85ee1 (patch) | |
| tree | e419a2bb6c064ddc69a49046705b6187772fee48 /src/common/bounded_threadsafe_queue.h | |
| parent | d3fb5e07d60c32f277647d806b0856d575af19a1 (diff) | |
Reimplement HardwareOpus
Diffstat (limited to 'src/common/bounded_threadsafe_queue.h')
| -rw-r--r-- | src/common/bounded_threadsafe_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bounded_threadsafe_queue.h b/src/common/bounded_threadsafe_queue.h index bd87aa09b5..b36fc1de96 100644 --- a/src/common/bounded_threadsafe_queue.h +++ b/src/common/bounded_threadsafe_queue.h @@ -45,13 +45,13 @@ public: } T PopWait() { - T t; + T t{}; Pop<PopMode::Wait>(t); return t; } T PopWait(std::stop_token stop_token) { - T t; + T t{}; Pop<PopMode::WaitWithStopToken>(t, stop_token); return t; } |
