Fix GCC 14 -Wtemplate-id-cdtor warnings

Fixes #91206.

(cherry picked from commit a8ff47b6d6)
This commit is contained in:
Rémi Verschelde 2024-04-26 11:40:59 +02:00
parent f9c0cd6a36
commit ea1dbdc6ff
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -213,12 +213,12 @@ public:
size_mask = mask;
};
RingBuffer<T>(int p_power = 0) {
RingBuffer(int p_power = 0) {
read_pos = 0;
write_pos = 0;
resize(p_power);
};
~RingBuffer<T>(){};
~RingBuffer() {}
};
#endif