#include <manifest_parser/utils/logging.h>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <list>
#include <memory>
std::unique_ptr<Step> step(
new StepT(context_.get(), std::forward<Args>(args)...));
step->on_error.connect(
- boost::bind(&AppInstaller::HandleStepError, this, _1, _2));
+ boost::bind(&AppInstaller::HandleStepError, this,
+ boost::placeholders::_1, boost::placeholders::_2));
steps_.emplace_back(std::move(step));
}
std::unique_ptr<Step> step(
new StepT(context_.get(), std::forward<Args>(args)...));
step->on_error.connect(
- boost::bind(&AppInstaller::HandleStepError, this, _1, _2));
+ boost::bind(&AppInstaller::HandleStepError, this,
+ boost::placeholders::_1, boost::placeholders::_2));
std::list<std::unique_ptr<Step>> tmpList;
tmpList.emplace_back(std::move(step));
auto it = steps_.begin();
std::unique_ptr<Step> step(
new StepT(context_.get(), std::forward<Args>(args)...));
step->on_error.connect(
- boost::bind(&AppInstaller::HandleStepError, this, _1, _2));
+ boost::bind(&AppInstaller::HandleStepError, this,
+ boost::placeholders::_1, boost::placeholders::_2));
*it = std::move(step);
}
std::unique_ptr<Step> step(
new StepT(context_.get(), std::forward<Args>(args)...));
step->on_error.connect(
- boost::bind(&AppInstaller::HandleStepError, this, _1, _2));
+ boost::bind(&AppInstaller::HandleStepError, this,
+ boost::placeholders::_1, boost::placeholders::_2));
steps_.insert(it, std::move(step));
}
std::unique_ptr<Step> step(
new StepT(context_.get(), std::forward<Args>(args)...));
step->on_error.connect(
- boost::bind(&AppInstaller::HandleStepError, this, _1, _2));
+ boost::bind(&AppInstaller::HandleStepError, this,
+ boost::placeholders::_1, boost::placeholders::_2));
steps_.insert(++it, std::move(step));
}