Remove unnecessary template parameters from constructors and desctuctors.

This commit is contained in:
Relintai 2024-06-18 10:17:14 +02:00
parent db1a38081b
commit 3f996fad22
2 changed files with 4 additions and 4 deletions

View File

@ -212,12 +212,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

View File

@ -132,7 +132,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);
}
};
@ -258,7 +258,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)) :
value(p_value) {
}
};