diff --git a/core/templates/ring_buffer.h b/core/templates/ring_buffer.h index d878894946e..25c4c9941d7 100644 --- a/core/templates/ring_buffer.h +++ b/core/templates/ring_buffer.h @@ -211,10 +211,10 @@ public: size_mask = mask; } - RingBuffer(int p_power = 0) { + RingBuffer(int p_power = 0) { resize(p_power); } - ~RingBuffer() {} + ~RingBuffer() {} }; #endif // RING_BUFFER_H diff --git a/core/templates/safe_refcount.h b/core/templates/safe_refcount.h index 58ed0192872..6c99fe10f77 100644 --- a/core/templates/safe_refcount.h +++ b/core/templates/safe_refcount.h @@ -132,7 +132,7 @@ public: } } - _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { + _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { set(p_value); } };