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/ThreadWin.cc

    r10768 r10775  
    3131
    3232#include <cassert>
     33// #include <functional>
    3334// #include <boost/thread/thread.hpp>
    34 // #include <boost/bind.hpp>
    3535// #include <boost/thread/mutex.hpp>
    3636// #include <boost/thread/thread_time.hpp>
     
    5252//         this->isWorkingMutex_ = new boost::mutex;
    5353//         this->stopThreadMutex_ = new boost::mutex;
    54 //         this->workerThread_ = new boost::thread( boost::bind(&Thread::threadLoop, this) );
     54//         this->workerThread_ = new boost::thread( std::bind(&Thread::threadLoop, this) );
    5555    }
    5656
Note: See TracChangeset for help on using the changeset viewer.