fixed packet size is always zero #8

master
Hideaki Tai 4 years ago
parent 297455a90d
commit e866ae7197

@ -166,6 +166,10 @@ namespace arx
public:
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
#else
Sender_() { packet.resize(PACKET_SIZE); }
#endif
virtual ~Sender_() {}
void net(const uint8_t n) { target_net = n & 0x7F; }
@ -270,6 +274,11 @@ namespace arx
public:
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
#else
Receiver_() { packet.resize(PACKET_SIZE); }
#endif
virtual ~Receiver_() {}
bool parse()

Loading…
Cancel
Save