Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2015, 10:40:44 AM (9 years ago)
Author:
landauf
Message:

using std::bind and std::function instead of boost::bind and boost::function respectively. use arg:: namespace for placeholders to avoid ambiguity with boost-placeholders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/Thread.cc

    r10768 r10775  
    3434
    3535#include <cassert>
     36#include <functional>
    3637#include <boost/thread/thread.hpp>
    37 #include <boost/bind.hpp>
    3838#include <boost/thread/mutex.hpp>
    3939#include <boost/thread/thread_time.hpp>
     
    5555        this->isWorkingMutex_ = new boost::mutex;
    5656        this->stopThreadMutex_ = new boost::mutex;
    57         this->workerThread_ = new boost::thread( boost::bind(&Thread::threadLoop, this) );
     57        this->workerThread_ = new boost::thread( std::bind(&Thread::threadLoop, this) );
    5858    }
    5959
Note: See TracChangeset for help on using the changeset viewer.