mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
removed C++17 check
This commit is contained in:
parent
a3e0b3710c
commit
cc59003560
9 changed files with 4 additions and 52 deletions
|
@ -587,11 +587,7 @@ namespace transport
|
|||
if (!resentPackets.empty ())
|
||||
{
|
||||
m_LastResendTime = ts;
|
||||
#if (__cplusplus >= 201703L) // C++ 17 or higher
|
||||
m_SentPackets.merge (resentPackets);
|
||||
#else
|
||||
m_SentPackets.insert (resentPackets.begin (), resentPackets.end ());
|
||||
#endif
|
||||
m_WindowSize >>= 1; // /2
|
||||
if (m_WindowSize < SSU2_MIN_WINDOW_SIZE) m_WindowSize = SSU2_MIN_WINDOW_SIZE;
|
||||
return resentPackets.size ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue