summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-01 01:49:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-01 01:49:18 +0300
commitd3cc61c242430f92f005b81b8336bd58dc686bff (patch)
treebabc9399ac8e8cf4101f7d3488a02362481731af
parent09f2702d58f5f49d1d64ad27b4c119b9eeb890a9 (diff)
downloadmanaplus-d3cc61c242430f92f005b81b8336bd58dc686bff.tar.gz
manaplus-d3cc61c242430f92f005b81b8336bd58dc686bff.tar.bz2
manaplus-d3cc61c242430f92f005b81b8336bd58dc686bff.tar.xz
manaplus-d3cc61c242430f92f005b81b8336bd58dc686bff.zip
Fix isue found by mplint.
-rw-r--r--src/net/packetinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/packetinfo.h b/src/net/packetinfo.h
index 8c2609439..d1018b10f 100644
--- a/src/net/packetinfo.h
+++ b/src/net/packetinfo.h
@@ -21,7 +21,9 @@
#ifndef NET_PACKETINFO_H
#define NET_PACKETINFO_H
-struct PacketInfo
+#include "localconsts.h"
+
+struct PacketInfo final
{
PacketInfo() :
name(nullptr),