Skip to content

Commit 62ebfb9

Browse files
committed
[core] A minor fix (reference to const).
1 parent 0a046d4 commit 62ebfb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srtcore/api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2926,7 +2926,7 @@ void srt::CUDTUnited::updateMux(CUDTSocket* s, const sockaddr_any& reqaddr, cons
29262926
bool reuse_attempt = false;
29272927
for (map<int, CMultiplexer>::iterator i = m_mMultiplexer.begin(); i != m_mMultiplexer.end(); ++i)
29282928
{
2929-
CMultiplexer& m = i->second;
2929+
CMultiplexer const& m = i->second;
29302930

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

0 commit comments

Comments
 (0)