mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix some warnings (#12615)
This commit is contained in:
parent
6a269d58ef
commit
a871115889
9 changed files with 13 additions and 13 deletions
|
@ -95,7 +95,7 @@ namespace ParticleParamTypes
|
|||
using This = Parameter<T, PN>;
|
||||
|
||||
Parameter() = default;
|
||||
Parameter(const This& a) = default;
|
||||
|
||||
template <typename... Args>
|
||||
Parameter(Args... args) : val(args...) {}
|
||||
|
||||
|
@ -165,7 +165,6 @@ namespace ParticleParamTypes
|
|||
f32 bias = 0;
|
||||
|
||||
RangedParameter() = default;
|
||||
RangedParameter(const This& a) = default;
|
||||
RangedParameter(T _min, T _max) : min(_min), max(_max) {}
|
||||
template <typename M> RangedParameter(M b) : min(b), max(b) {}
|
||||
|
||||
|
@ -245,7 +244,6 @@ namespace ParticleParamTypes
|
|||
T start, end;
|
||||
|
||||
TweenedParameter() = default;
|
||||
TweenedParameter(const This& a) = default;
|
||||
TweenedParameter(T _start, T _end) : start(_start), end(_end) {}
|
||||
template <typename M> TweenedParameter(M b) : start(b), end(b) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue