1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Clang: silence -Wdeprecated-declarations for now

RPi: hopefully silence a warning
This commit is contained in:
Lukas Matena
2021-02-08 17:50:29 +01:00
parent 1834ebe981
commit a7728634f0
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ XYRotation from_transform3d(const Transform3d &tr)
template<size_t N, class Fn, class It, class StopCond>
std::array<double, N> find_min_score(Fn &&fn, It from, It to, StopCond &&stopfn)
{
std::array<double, N> ret;
std::array<double, N> ret = {};
double score = std::numeric_limits<double>::max();