mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
It can't be uninitialized given the logic here, but an std::optional (rather that using separate bool and value variables) simplifies the code and avoids the warning. Also removes some dead code (the ASSERT just before it makes sure we can't enter the deleted `else`). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
net_node.cpp | ||
net_node.h | ||
net_node.inl | ||
net_node_common.h | ||
net_peerlist.cpp | ||
net_peerlist.h | ||
net_peerlist_boost_serialization.h | ||
p2p_protocol_defs.h |