Changeset 11263


Ignore:
Timestamp:
07/06/11 13:50:06 (13 years ago)
Author:
tbretz
Message:
Added include of boost/thread.hpp and LocalControl.h
File:
1 edited

Legend:

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

    r11253 r11263  
    11#ifndef FACT_MAIN
    22#define FACT_MAIN
     3
     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>
     10
     11#include "LocalControl.h"
    312
    413void MainThread(StateMachineImp *io_service, bool dummy)
     
    3645
    3746template<class T, class S>
    38 int Main(Configuration &conf, bool dummy=false)
     47int Main(const Configuration &conf, bool dummy=false)
    3948{
    4049    static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1);
Note: See TracChangeset for help on using the changeset viewer.