mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
[[fallthrough]] if C++17 only
This commit is contained in:
parent
fe1724e7e6
commit
2ffe62ba41
5 changed files with 19 additions and 4 deletions
|
@ -847,7 +847,10 @@ namespace stream
|
|||
break;
|
||||
case 2:
|
||||
m_RTO = INITIAL_RTO; // drop RTO to initial upon tunnels pair change first time
|
||||
[[fallthrough]]; // no break here
|
||||
#if (__cplusplus >= 201703L) // C++ 17 or higher
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
// no break here
|
||||
case 4:
|
||||
if (m_RoutingSession) m_RoutingSession->SetSharedRoutingPath (nullptr);
|
||||
UpdateCurrentRemoteLease (); // pick another lease
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue