prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.78k stars 1.94k forks source link

Arrange: fix for new error in clang 19 #13630

Open FliegendeWurst opened 2 days ago

FliegendeWurst commented 2 days ago

Using clang 19, the build otherwise fails with

In file included from /build/source/src/libslic3r/ModelArrange.cpp:8:
In file included from /build/source/src/libslic3r/Arrange/Items/ArrangeItem.hpp:19:
In file included from /build/source/src/libslic3r/Arrange/Items/MutableItemTraits.hpp:9:
/build/source/src/libslic3r/Arrange/Core/DataStoreTraits.hpp:74:48: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   74 |     WritableDataStoreTraits<ArrItem>::template set(itm, key, std::forward<T>(data));
      |

Build is still running here, but I assume this will fix it.