diff options
author | Sergey Yershov <syershov@maps.me> | 2017-03-06 19:41:11 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-03-20 11:34:39 +0300 |
commit | 8e4212d1a6aed3b3e7ffb7dd582005def30441fc (patch) | |
tree | 1ce34fd1a88af4b6bbc9bc53190c70989d8cb465 /tracking/protocol.hpp | |
parent | d5cb94d7616c1fb74f536ceb2f9f7d8aa113a31d (diff) |
Review fixes
Diffstat (limited to 'tracking/protocol.hpp')
-rw-r--r-- | tracking/protocol.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tracking/protocol.hpp b/tracking/protocol.hpp index 03efd3dac9..da1752b80d 100644 --- a/tracking/protocol.hpp +++ b/tracking/protocol.hpp @@ -31,10 +31,8 @@ public: static vector<uint8_t> CreateHeader(PacketType type, uint32_t payloadSize); static vector<uint8_t> CreateAuthPacket(string const & clientId); - static vector<uint8_t> CreateDataPacket(DataElementsCirc const & points, - PacketType type = PacketType::CurrentData); - static vector<uint8_t> CreateDataPacket(DataElementsVec const & points, - PacketType type = PacketType::CurrentData); + static vector<uint8_t> CreateDataPacket(DataElementsCirc const & points, PacketType type); + static vector<uint8_t> CreateDataPacket(DataElementsVec const & points, PacketType type); static std::pair<PacketType, size_t> DecodeHeader(vector<uint8_t> const & data); static string DecodeAuthPacket(PacketType type, vector<uint8_t> const & data); |