- Timestamp:
- Dec 30, 2015, 11:34:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/packet/Packet.cc
r10774 r11006 157 157 } 158 158 #ifndef NDEBUG 159 switch( *(Type ::Value*)(data_ + _PACKETID) )159 switch( *(Type *)(data_ + _PACKETID) ) 160 160 { 161 161 case Type::Acknowledgement: … … 191 191 // peerID = NETWORK_PEER_ID_SERVER; 192 192 Packet *p = nullptr; 193 // orxout(verbose_ultra, context::packets) << "packet type: " << *(Type ::Value*)&data[_PACKETID] << endl;194 switch( *(Type ::Value*)(data + _PACKETID) )193 // orxout(verbose_ultra, context::packets) << "packet type: " << *(Type *)&data[_PACKETID] << endl; 194 switch( *(Type *)(data + _PACKETID) ) 195 195 { 196 196 case Type::Acknowledgement:
Note: See TracChangeset
for help on using the changeset viewer.