diff --git a/xs/src/libslic3r/GCodeSender.hpp b/xs/src/libslic3r/GCodeSender.hpp index bd61374fbe..18e0184691 100644 --- a/xs/src/libslic3r/GCodeSender.hpp +++ b/xs/src/libslic3r/GCodeSender.hpp @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include @@ -15,6 +15,9 @@ namespace Slic3r { namespace asio = boost::asio; +using boost::placeholders::_1; +using boost::placeholders::_2; + class GCodeSender : private boost::noncopyable { public: GCodeSender(); diff --git a/xs/src/libslic3r/GCodeTimeEstimator.cpp b/xs/src/libslic3r/GCodeTimeEstimator.cpp index 818896bc16..b705032c80 100644 --- a/xs/src/libslic3r/GCodeTimeEstimator.cpp +++ b/xs/src/libslic3r/GCodeTimeEstimator.cpp @@ -1,9 +1,12 @@ #include "GCodeTimeEstimator.hpp" -#include +#include #include namespace Slic3r { +using boost::placeholders::_1; +using boost::placeholders::_2; + void GCodeTimeEstimator::parse(const std::string &gcode) { diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index 45a1da07d5..40ed823df5 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -2,11 +2,14 @@ #include "BoundingBox.hpp" #include "ClipperUtils.hpp" #include "Geometry.hpp" +#include #include #include namespace Slic3r { +using boost::placeholders::_1; + PrintObject::PrintObject(Print* print, ModelObject* model_object, const BoundingBoxf3 &modobj_bbox) : typed_slices(false), _print(print), diff --git a/xs/src/libslic3r/SLAPrint.cpp b/xs/src/libslic3r/SLAPrint.cpp index 02043e1910..df68f7f06a 100644 --- a/xs/src/libslic3r/SLAPrint.cpp +++ b/xs/src/libslic3r/SLAPrint.cpp @@ -7,9 +7,12 @@ #include #include #include +#include namespace Slic3r { +using boost::placeholders::_1; + void SLAPrint::slice() { diff --git a/xs/src/libslic3r/TriangleMesh.cpp b/xs/src/libslic3r/TriangleMesh.cpp index e4be594a01..b3f91a85ac 100644 --- a/xs/src/libslic3r/TriangleMesh.cpp +++ b/xs/src/libslic3r/TriangleMesh.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #ifdef SLIC3R_DEBUG #include "SVG.hpp" @@ -21,6 +22,8 @@ namespace Slic3r { +using boost::placeholders::_1; + TriangleMesh::TriangleMesh() : repaired(false) {