1
0
Fork 0

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 8445299349
commit ace153ad61
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -131,7 +131,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); set(p_value);
} }
}; };