Skip to content

Commit

Permalink
Make boost::Placeholders::_1 visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jwakely authored and hroncok committed Jun 2, 2020
1 parent 54a31ee commit d5084db
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
5 changes: 4 additions & 1 deletion xs/src/libslic3r/GCodeSender.hpp
Expand Up @@ -7,14 +7,17 @@
#include <string>
#include <vector>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/thread.hpp>
#include <boost/core/noncopyable.hpp>

namespace Slic3r {

namespace asio = boost::asio;

using boost::placeholders::_1;
using boost::placeholders::_2;

class GCodeSender : private boost::noncopyable {
public:
GCodeSender();
Expand Down
5 changes: 4 additions & 1 deletion xs/src/libslic3r/GCodeTimeEstimator.cpp
@@ -1,9 +1,12 @@
#include "GCodeTimeEstimator.hpp"
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <cmath>

namespace Slic3r {

using boost::placeholders::_1;
using boost::placeholders::_2;

void
GCodeTimeEstimator::parse(const std::string &gcode)
{
Expand Down
3 changes: 3 additions & 0 deletions xs/src/libslic3r/PrintObject.cpp
Expand Up @@ -4,12 +4,15 @@
#include "Geometry.hpp"
#include "Log.hpp"
#include "TransformationMatrix.hpp"
#include <boost/bind/bind.hpp>
#include <algorithm>
#include <vector>
#include <limits>

namespace Slic3r {

using boost::placeholders::_1;

PrintObject::PrintObject(Print* print, ModelObject* model_object, const BoundingBoxf3 &modobj_bbox)
: layer_height_spline(model_object->layer_height_spline),
typed_slices(false),
Expand Down
3 changes: 3 additions & 0 deletions xs/src/libslic3r/SLAPrint.cpp
Expand Up @@ -7,9 +7,12 @@
#include <iostream>
#include <complex>
#include <cstdio>
#include <boost/bind/bind.hpp>

namespace Slic3r {

using boost::placeholders::_1;

void
SLAPrint::slice()
{
Expand Down
3 changes: 3 additions & 0 deletions xs/src/libslic3r/TriangleMesh.cpp
Expand Up @@ -15,13 +15,16 @@
#include <stdexcept>
#include <boost/config.hpp>
#include <boost/nowide/convert.hpp>
#include <boost/bind/bind.hpp>

#ifdef SLIC3R_DEBUG
#include "SVG.hpp"
#endif

namespace Slic3r {

using boost::placeholders::_1;

TriangleMesh::TriangleMesh()
: repaired(false)
{
Expand Down

0 comments on commit d5084db

Please sign in to comment.