Changeset 20:38521bf10e24 in xplcommon for src/xplcommon/Failable.h


Ignore:
Timestamp:
12/30/12 16:45:26 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented the Waiter and the WaitableEvent classes for Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/Failable.h

    r14 r20  
    115115
    116116inline Failable::Failable() :
    117     errorCode(NO_ERROR)
     117    errorCode(XPL_NO_ERROR)
    118118{
    119119}
     
    123123inline bool Failable::failed() const
    124124{
    125     return errorCode!=NO_ERROR;
     125    return errorCode!=XPL_NO_ERROR;
    126126}
    127127
     
    137137inline void Failable::repair()
    138138{
    139     errorCode = NO_ERROR;
     139    errorCode = XPL_NO_ERROR;
    140140}
    141141
Note: See TracChangeset for help on using the changeset viewer.