Changeset 12048 for trunk


Ignore:
Timestamp:
09/08/11 21:57:50 (13 years ago)
Author:
tbretz
Message:
Fixed a compiler warning.
File:
1 edited

Legend:

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

    r11718 r12048  
    9898
    9999    // Callback when writing was successfull or failed
     100#ifdef DEBUG_TX
    100101    void HandleSentData(const boost::system::error_code& error, size_t bytes_transferred)
    101102    {
    102 #ifdef DEBUG_TX
    103103        cout << "Data sent[" << fBoardId << "]: (transmitted=" << bytes_transferred << ") rc=" << error.message() << " (" << error << ")" << endl;
     104        fOutQueue.pop_front();
     105    }
     106#else
     107    void HandleSentData(const boost::system::error_code&, size_t)
     108    {
     109        fOutQueue.pop_front();
     110    }
    104111#endif
    105         fOutQueue.pop_front();
    106     }
    107112
    108113    vector<uint16_t> fBufCommand;
Note: See TracChangeset for help on using the changeset viewer.