fixed packet size is always zero #8
This commit is contained in:
parent
297455a90d
commit
e866ae7197
9
Artnet.h
9
Artnet.h
@ -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…
Reference in New Issue
Block a user