From d1ed3d40c1c1da26f6d0b0da9e2d54a928050796 Mon Sep 17 00:00:00 2001
From: tamasmeszaros <meszaros.q@gmail.com>
Date: Wed, 12 Jun 2019 17:23:12 +0200
Subject: [PATCH] Fix build on windows.

This issue is annoying.
---
 src/libslic3r/SLAPrint.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp
index 99e2915ea..3c7341656 100644
--- a/src/libslic3r/SLAPrint.cpp
+++ b/src/libslic3r/SLAPrint.cpp
@@ -1353,7 +1353,7 @@ void SLAPrint::process()
     };
 
     // Rasterizing the model objects, and their supports
-    auto rasterize = [this]() {
+    auto rasterize = [this, max_objstatus]() {
         if(canceled()) return;
 
         // collect all the keys