Skip to content

Commit

Permalink
[core] CUDTException is no longer exported in DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Nov 26, 2020
1 parent 8254d43 commit 5bc58cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion srtcore/common.h
Expand Up @@ -94,7 +94,7 @@ modified by
// is predicted to NEVER LET ANY EXCEPTION out of implementation,
// so it's useless to catch this exception anyway.

class SRT_API CUDTException: public std::exception
class CUDTException: public std::exception
{
public:

Expand Down
2 changes: 1 addition & 1 deletion srtcore/core.cpp
Expand Up @@ -8276,10 +8276,10 @@ int CUDT::sendCtrlAck(CPacket& ctrlpkt, int size)

void CUDT::updateSndLossListOnACK(int32_t ackdata_seqno)
{
#if ENABLE_EXPERIMENTAL_BONDING
// This is for the call of CSndBuffer::getMsgNoAt that returns
// this value as a notfound-trap.
int32_t msgno_at_last_acked_seq = SRT_MSGNO_CONTROL;
#if ENABLE_EXPERIMENTAL_BONDING
bool is_group = m_parent->m_IncludedGroup;
#endif

Expand Down

0 comments on commit 5bc58cd

Please sign in to comment.