Fix GCC 14 -Wtemplate-id-cdtor warnings

Fixes #91206.
This commit is contained in:
Rémi Verschelde
2024-04-26 11:40:59 +02:00
parent 86bf8354a0
commit a8ff47b6d6
4 changed files with 27 additions and 5 deletions

View File

@@ -211,10 +211,10 @@ public:
size_mask = mask;
}
RingBuffer<T>(int p_power = 0) {
RingBuffer(int p_power = 0) {
resize(p_power);
}
~RingBuffer<T>() {}
~RingBuffer() {}
};
#endif // RING_BUFFER_H

View File

@@ -146,7 +146,7 @@ public:
}
}
_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) {
set(p_value);
}
};