diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 21:59:27 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 22:28:22 -0700 |
commit | 2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch) | |
tree | 2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/net/packets.hpp | |
parent | f5fcb973cfad6221264a2a859f5236c3cef2c470 (diff) | |
download | tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2 tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip |
Stick everything in a namespace
Diffstat (limited to 'src/net/packets.hpp')
-rw-r--r-- | src/net/packets.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/packets.hpp b/src/net/packets.hpp index 9cfb1da..e025a63 100644 --- a/src/net/packets.hpp +++ b/src/net/packets.hpp @@ -34,6 +34,9 @@ # include "socket.hpp" + +namespace tmwa +{ struct Buffer { std::vector<Byte> bytes; @@ -580,5 +583,6 @@ RecvResult recv_packet_repeatonly(Session *s, AString& repeat) Packet_Head<id> head; return recv_vpacket<id, 4, repeatsize>(s, head, repeat); } +} // namespace tmwa #endif // TMWA_NET_PACKETS_HPP |