Changeset 11472


Ignore:
Timestamp:
07/19/11 19:55:02 (13 years ago)
Author:
tbretz
Message:
Replaced boost::thread by std::thread.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Main.h

    r11470 r11472  
    22#define FACT_MAIN
    33
    4 #if BOOST_VERSION < 104400
    5 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))
    6 #undef BOOST_HAS_RVALUE_REFS
    7 #endif
    8 #endif
    9 #include <boost/thread.hpp>
     4#include <thread>
     5#include <boost/bind.hpp>
    106
    117#include "LocalControl.h"
     
    8783
    8884//    boost::thread t(boost::bind(&AutoScheduler<S>::Run, &io_service));
    89     boost::thread t(boost::bind(MainThread, &io_service, dummy));
     85    thread t(boost::bind(MainThread, &io_service, dummy));
    9086
    9187    const vector<string> v1 = conf.Vec<string>("cmd");
Note: See TracChangeset for help on using the changeset viewer.