From 86ddac7b1ec4e9a1ff33b11363e55607b2a09f55 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 31 Aug 2021 09:17:52 +0200 Subject: [PATCH] Fixed warning --- src/slic3r/GUI/GCodeViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index aaea44c7e8..732403b03e 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -2665,7 +2665,7 @@ void GCodeViewer::render_toolpaths() }; #if ENABLE_SEAMS_USING_MODELS - auto render_as_instanced_model = [this] + auto render_as_instanced_model = [] (TBuffer& buffer, GLShaderProgram & shader) { for (auto& range : buffer.model.instances.render_ranges.ranges) { if (range.vbo == 0 && range.count > 0) {