aboutsummaryrefslogtreecommitdiff
path: root/src/common/bounded_threadsafe_queue.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-17 10:42:44 -0400
committerGitHub <noreply@github.com>2023-09-17 10:42:44 -0400
commit474739a37920ff8e8a2f5d6f480a9116fdfba825 (patch)
tree8331fac91e1e96ddd379917ad51167cef48868f3 /src/common/bounded_threadsafe_queue.h
parent4d28e60694d5f065e81e50657a7d8472f6f3da20 (diff)
parent67e2d5c28b8423c4f3f1d5b00f87325684158a6f (diff)
Merge pull request #11460 from Kelebek1/hw_opus
Reimplement HardwareOpus
Diffstat (limited to 'src/common/bounded_threadsafe_queue.h')
-rw-r--r--src/common/bounded_threadsafe_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bounded_threadsafe_queue.h b/src/common/bounded_threadsafe_queue.h
index bd87aa09b..b36fc1de9 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;
}