Changeset 14976 for trunk/FACT++


Ignore:
Timestamp:
03/04/13 12:11:17 (12 years ago)
Author:
tbretz
Message:
Replaced deprecated io_service() by get_io_service()
Location:
trunk/FACT++/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/dserver2.cc

    r10183 r14976  
    187187    {
    188188        cout << "Start accept..." << flush;
    189         tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/io_service());
     189        tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/get_io_service());
    190190
    191191        // This will accept a connection without blocking
  • trunk/FACT++/src/fad.cc

    r12048 r14976  
    542542    {
    543543        boost::shared_ptr<ba::ip::tcp::socket> connection =
    544             boost::shared_ptr<ba::ip::tcp::socket>(new ba::ip::tcp::socket(acc.io_service()));
     544            boost::shared_ptr<ba::ip::tcp::socket>(new ba::ip::tcp::socket(acc.get_io_service()));
    545545
    546546        acc.async_accept(*connection,
     
    554554    {
    555555        cout << "Start accept[" << fBoardId << "] " << acc0.local_endpoint().port() << "..." << flush;
    556         tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/acc0.io_service(), fBoardId);
     556        tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/acc0.get_io_service(), fBoardId);
    557557
    558558        cout << new_connection.get() << " ";
  • trunk/FACT++/src/fsc.cc

    r14615 r14976  
    158158    {
    159159        cout << "Start accept..." << flush;
    160         tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/io_service());
     160        tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/get_io_service());
    161161
    162162        // This will accept a connection without blocking
  • trunk/FACT++/src/ftm.cc

    r11664 r14976  
    519519    {
    520520        cout << "Start accept..." << flush;
    521         tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/io_service());
     521        tcp_connection::shared_ptr new_connection = tcp_connection::create(/*acceptor_.*/get_io_service());
    522522
    523523        // This will accept a connection without blocking
Note: See TracChangeset for help on using the changeset viewer.