From 6175eda867e982de79397fdaf7f25f1609d37aca Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Thu, 17 Jan 2019 15:40:09 +0100 Subject: [PATCH] Fix build --- src/libslic3r/PlaceholderParser.cpp | 6 +++--- src/libslic3r/Slicing.hpp | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/PlaceholderParser.cpp b/src/libslic3r/PlaceholderParser.cpp index eae8f418b..42caa999e 100644 --- a/src/libslic3r/PlaceholderParser.cpp +++ b/src/libslic3r/PlaceholderParser.cpp @@ -270,9 +270,9 @@ namespace client { std::string out; switch (type) { - case TYPE_BOOL: out = boost::to_string(data.b); break; - case TYPE_INT: out = boost::to_string(data.i); break; - case TYPE_DOUBLE: out = boost::to_string(data.d); break; + case TYPE_BOOL: out = std::to_string(data.b); break; + case TYPE_INT: out = std::to_string(data.i); break; + case TYPE_DOUBLE: out = std::to_string(data.d); break; case TYPE_STRING: out = *data.s; break; default: break; } diff --git a/src/libslic3r/Slicing.hpp b/src/libslic3r/Slicing.hpp index b4a074bb5..6070864e1 100644 --- a/src/libslic3r/Slicing.hpp +++ b/src/libslic3r/Slicing.hpp @@ -5,6 +5,7 @@ #include #include +#include #include "libslic3r.h" namespace Slic3r