We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d42112 commit 896dae4Copy full SHA for 896dae4
src/libslic3r/GCode/WipeTowerIntegration.hpp
@@ -45,7 +45,7 @@ class WipeTowerIntegration {
45
std::string finalize(GCodeGenerator &gcodegen);
46
std::vector<float> used_filament_length() const;
47
std::optional<WipeTower::ToolChangeResult> get_toolchange(std::size_t index, bool ignore_sparse) const {
48
- if (m_layer_idx >= m_tool_changes.size()) {
+ if (static_cast<std::size_t>(m_layer_idx) >= m_tool_changes.size()) {
49
return std::nullopt;
50
}
51
if(
0 commit comments