src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp in passenger-6.0.7 vs src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp in passenger-6.0.8
- old
+ new
@@ -306,10 +306,10 @@
if (process != NULL) {
Group *group = process->getGroup();
// Must be a boost::shared_ptr to be interruption-safe.
boost::shared_ptr<DisableWaitTicket> ticket = boost::make_shared<DisableWaitTicket>();
DisableResult result = group->disable(process,
- boost::bind(syncDisableProcessCallback, _1, _2, ticket));
+ boost::bind(syncDisableProcessCallback, boost::placeholders::_1, boost::placeholders::_2, ticket));
group->verifyInvariants();
group->verifyExpensiveInvariants();
if (result == DR_DEFERRED) {
l.unlock();
ScopedLock l2(ticket->syncher);