diff options
Diffstat (limited to 'src/network/protocol.cpp')
-rw-r--r-- | src/network/protocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/protocol.cpp b/src/network/protocol.cpp index 9848d29..dbf1c40 100644 --- a/src/network/protocol.cpp +++ b/src/network/protocol.cpp @@ -387,7 +387,7 @@ optional<NetworkProtocol::Header> NetworkProtocol::Connection::receive(const Par return nullopt; } } - else if (const auto * sdata = get_if< StreamData >( &parsed )) { + else if( auto * sdata = get_if< StreamData >( &parsed )){ scoped_lock lock(p->cmutex); if (secure) p->toAcknowledge.push_back(*secure); |