mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 13:52:38 +02:00
Remove unnecessary template parameters from constructors and desctuctors.
This commit is contained in:
parent
db1a38081b
commit
3f996fad22
@ -212,12 +212,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
|
||||||
|
@ -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);
|
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) {
|
value(p_value) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user