Skip to content

Commit

Permalink
[core] A minor fix (reference to const).
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Mar 12, 2024
1 parent 0a046d4 commit 62ebfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,7 @@ void srt::CUDTUnited::updateMux(CUDTSocket* s, const sockaddr_any& reqaddr, cons
bool reuse_attempt = false;
for (map<int, CMultiplexer>::iterator i = m_mMultiplexer.begin(); i != m_mMultiplexer.end(); ++i)
{
CMultiplexer& m = i->second;
CMultiplexer const& m = i->second;

// First, we need to find a multiplexer with the same port.
if (m.m_iPort != port)
Expand Down

0 comments on commit 62ebfb9

Please sign in to comment.