diff --git a/core/ring_buffer.h b/core/ring_buffer.h index 80052453eb36..f152873d2579 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 diff --git a/core/safe_refcount.h b/core/safe_refcount.h index c34d84f55b31..88beebe7fddc 100644 --- a/core/safe_refcount.h +++ b/core/safe_refcount.h @@ -131,7 +131,7 @@ class SafeNumeric { } } - _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { + _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { set(p_value); } };