From c83b4f39502764285dc7f75fb223ad5f05e72276 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sat, 24 Jan 2026 16:36:49 +0100 Subject: [PATCH] Fixed compile of VOIP for older compilers --- plugins/VOIP/gui/VideoProcessor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/VOIP/gui/VideoProcessor.h b/plugins/VOIP/gui/VideoProcessor.h index a8b99eb4d..c3f20b36f 100644 --- a/plugins/VOIP/gui/VideoProcessor.h +++ b/plugins/VOIP/gui/VideoProcessor.h @@ -34,11 +34,11 @@ template class NetQueue { std::vector arr; const unsigned int mask; - std::atomic mhead = 0; - std::atomic mtail = 0; + std::atomic mhead; + std::atomic mtail; public: - NetQueue(unsigned int size) : arr(size), mask(size - 1) { + NetQueue(unsigned int size) : arr(size), mask(size - 1), mhead(0), mtail(0) { if(size & mask) throw std::invalid_argument("size must be a power of 2"); }