mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
Two range-for loops bound const std::string& to braced lists of string literals, so each iteration constructed a temporary to bind to. GCC 16 reports it as -Wrange-loop-construct, which upstream's blanket -Werror turns into a build failure; clang does not report it at all. Spell the initializers the way the loop above them already does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: