1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Fix some warnings (#12615)

This commit is contained in:
rubenwardy
2022-07-30 12:51:23 +01:00
committed by GitHub
parent 6a269d58ef
commit a871115889
9 changed files with 13 additions and 13 deletions

View File

@@ -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) {}