Ignore:
Timestamp:
Jan 27, 2010, 7:13:16 PM (14 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/DataMessage.h

    r7497 r7499  
    6565
    6666        inline Message* getMessage() const {
     67                if (isData()) {
     68                        return new Message( Data((uint8_t*)data,size*8) );
     69                }
    6770                return (Message*)data;
    6871        }
    6972
    7073        inline operator Message* () const {
    71                 return (Message*)data;
     74                return getMessage();
    7275        }
    7376#endif
Note: See TracChangeset for help on using the changeset viewer.