mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix GCC 14 -Wtemplate-id-cdtor warnings
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit a5c8106f92)
This commit is contained in:
committed by
Rémi Verschelde
parent
004ce6d698
commit
470ef4d63e
@@ -211,12 +211,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 // RING_BUFFER_H
|
#endif // RING_BUFFER_H
|
||||||
|
|||||||
@@ -131,7 +131,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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -257,7 +257,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) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user