Commit cfda7a78 authored by Philipp Götze's avatar Philipp Götze
Browse files

Get rid of boost bind pragma message warning

parent b71cce44
......@@ -29,8 +29,7 @@
#include "libcpp/mpl/sequences/GenerateIndexes.hpp"
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
namespace ns_utilities {
......
......@@ -177,8 +177,8 @@ namespace pfabric {
/**
* Creates a new instance of the operator.
*/
Queue() : mNotifier(new DequeueNotifier(boost::bind(&Queue::dequeueTuple, this, _1),
boost::bind(&Queue::stopProcessing, this))) {
Queue() : mNotifier(new DequeueNotifier(std::bind(&Queue::dequeueTuple, this, std::placeholders::_1),
std::bind(&Queue::stopProcessing, this))) {
}
/**
......
......@@ -27,7 +27,6 @@
#include "libcpp/mpl/algorithms/StaticForEach.hpp"
#include <boost/bind.hpp>
#include <boost/mpl/vector.hpp>
......@@ -145,7 +144,7 @@ struct SignalTest {
{ // test global function
// create the signal and connect a test slot
Signal signal;
auto connection = SignalInterface::connect( signal, boost::bind(&globalFunction, ::_1, ::_2 ) );
auto connection = SignalInterface::connect( signal, std::bind(&globalFunction, std::placeholders::_1, std::placeholders::_2 ) );
// invoke the signal
testResults.reset();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment