From a182b5752c7f0eb92a6aae25ff1751f38c7456fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 26 Apr 2024 11:40:59 +0200 Subject: [PATCH] Fix GCC 14 -Wtemplate-id-cdtor warnings Fixes #91206. (cherry picked from commit a8ff47b6d6b5070b8247dfed85135b71a4a07cdf) --- core/ring_buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ring_buffer.h b/core/ring_buffer.h index f5f43607fe28..f2965b8cee5e 100644 --- a/core/ring_buffer.h +++ b/core/ring_buffer.h @@ -213,12 +213,12 @@ class RingBuffer { size_mask = mask; }; - RingBuffer(int p_power = 0) { + RingBuffer(int p_power = 0) { read_pos = 0; write_pos = 0; resize(p_power); }; - ~RingBuffer(){}; + ~RingBuffer() {} }; #endif