fixed fallthough warning for C++17

This commit is contained in:
orignal 2020-02-28 14:15:41 -05:00
parent 1893127e84
commit e0cb26bd9e
5 changed files with 5 additions and 4 deletions

View file

@ -847,7 +847,7 @@ namespace stream
break;
case 2:
m_RTO = INITIAL_RTO; // drop RTO to initial upon tunnels pair change first time
// no break here
[[fallthrough]]; // no break here
case 4:
if (m_RoutingSession) m_RoutingSession->SetSharedRoutingPath (nullptr);
UpdateCurrentRemoteLease (); // pick another lease