From 70679afed1eb732c075d88ab6642e2ea02c24fcc Mon Sep 17 00:00:00 2001 From: Pythonology Date: Mon, 9 Apr 2018 22:34:50 -0400 Subject: [PATCH] net: send_packet_data() needs to be protected This is required in order to expose it to Python. --- include/ki/protocol/net/Participant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ki/protocol/net/Participant.h b/include/ki/protocol/net/Participant.h index 36fb876..826e8aa 100644 --- a/include/ki/protocol/net/Participant.h +++ b/include/ki/protocol/net/Participant.h @@ -59,6 +59,7 @@ namespace net */ void process_data(const char *data, size_t size); + virtual void send_packet_data(const char *data, const size_t size) = 0; virtual void close() = 0; private: ParticipantType m_type; @@ -69,7 +70,6 @@ namespace net uint16_t m_incoming_packet_size; uint8_t m_shift; - virtual void send_packet_data(const char *data, const size_t size) = 0; virtual void on_packet_available() {}; }; }