Skip to content

Commit c55b8a2

Browse files
committed
Avoid using namespace std to allow c++14 compilation
1 parent 9c2e90c commit c55b8a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rtpudpv4transmitter.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050

5151
#include "rtpdebug.h"
5252

53-
using namespace std;
54-
5553
#define RTPUDPV4TRANS_MAXPACKSIZE 65535
5654
#define RTPUDPV4TRANS_IFREQBUFSIZE 8192
5755

@@ -168,7 +166,7 @@ int GetAutoSockets(uint32_t bindIP, bool allowOdd, bool rtcpMux,
168166
{
169167
const int maxAttempts = 1024;
170168
int attempts = 0;
171-
vector<SocketType> toClose;
169+
std::vector<SocketType> toClose;
172170

173171
while (attempts++ < maxAttempts)
174172
{

0 commit comments

Comments
 (0)