From cc1aaceea6ade49413df01d3dee42ff8c56b2441 Mon Sep 17 00:00:00 2001
From: Enrico Turri <enricoturri@seznam.cz>
Date: Fri, 12 Jan 2018 11:09:53 +0100
Subject: [PATCH] fixed compile on linux and osx

---
 xs/src/libslic3r/BoundingBox.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xs/src/libslic3r/BoundingBox.hpp b/xs/src/libslic3r/BoundingBox.hpp
index f1782805b..1a15315fb 100644
--- a/xs/src/libslic3r/BoundingBox.hpp
+++ b/xs/src/libslic3r/BoundingBox.hpp
@@ -30,7 +30,7 @@ public:
         if (points.empty())
             CONFESS("Empty point set supplied to BoundingBoxBase constructor");
 
-        std::vector<PointClass>::const_iterator it = points.begin();
+        typename std::vector<PointClass>::const_iterator it = points.begin();
         this->min.x = this->max.x = it->x;
         this->min.y = this->max.y = it->y;
         for (++it; it != points.end(); ++it)
@@ -86,7 +86,7 @@ public:
         if (points.empty())
             CONFESS("Empty point set supplied to BoundingBox3Base constructor");
 
-        std::vector<PointClass>::const_iterator it = points.begin();
+        typename std::vector<PointClass>::const_iterator it = points.begin();
         this->min.z = this->max.z = it->z;
         for (++it; it != points.end(); ++it)
         {