Changeset 7500 for source


Ignore:
Timestamp:
Jan 27, 2010, 7:18:19 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/DataMessage.h

    r7499 r7500  
    7777
    7878        inline bool isMessage() const {
    79                 return size >= 0;
     79                return size == ~(size_t)0;
    8080        }
    8181
    8282        inline bool isData() const {
    83                 return size == ~(size_t)0;
     83                return !isMessage();
    8484        }
    8585
Note: See TracChangeset for help on using the changeset viewer.