network engine: remove unused constant

This commit is contained in:
Adrien Béraud committed 2017-10-30 13:12:16 -04:00
1 parent 0a130c7045
commit 8cd3ff9fc4
1 file changed
-3
-3
View File
@@ -93,8 +93,6 @@ set_nonblocking(int fd, int nonblocking)
* host order.
*/
struct TransId final : public std::array<uint8_t, 4> {
static const constexpr uint16_t INVALID {0};
TransId() { std::fill(begin(), end(), 0); }
TransId(const std::array<char, 4>& o) { std::copy(o.begin(), o.end(), begin()); }
TransId(uint32_t id) {
@@ -107,7 +105,6 @@ struct TransId final : public std::array<uint8_t, 4> {
};
struct NetworkEngine::PartialMessage {
SockAddr from;
time_point start;