From 1b006d5164c605ef44652b4442309983bfc0d24a Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 25 Jul 2018 12:20:07 -0400 Subject: ... --- test/test_msg.cpp | 2 ++ test/test_network.cpp | 3 +++ 2 files changed, 5 insertions(+) (limited to 'test') diff --git a/test/test_msg.cpp b/test/test_msg.cpp index e4f35fa..ee13166 100644 --- a/test/test_msg.cpp +++ b/test/test_msg.cpp @@ -61,6 +61,8 @@ struct MsgTest { } }; +const opcode_t MsgTest::opcode; + int main() { salticidae::MsgBase msg(MsgTest(10)); printf("%s\n", std::string(msg).c_str()); diff --git a/test/test_network.cpp b/test/test_network.cpp index f84ead5..fd84c3b 100644 --- a/test/test_network.cpp +++ b/test/test_network.cpp @@ -71,6 +71,9 @@ struct MsgAck { MsgAck(DataStream &&s) {} }; +const opcode_t MsgHello::opcode; +const opcode_t MsgAck::opcode; + using MsgNetworkByteOp = MsgNetwork; struct MyNet: public MsgNetworkByteOp { -- cgit v1.2.3-70-g09d2