Added strict namespace macro
parent
5a829ee82f
commit
5d5a31562a
|
@ -10,7 +10,7 @@
|
|||
#include "peerconnect.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace pc;
|
||||
|
||||
|
||||
void usage(const char* prg);
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "peerconnect.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace pc;
|
||||
|
||||
|
||||
void usage(const char* prg);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#endif
|
||||
|
||||
using namespace std;
|
||||
using namespace pc;
|
||||
|
||||
|
||||
bool parse_args(int argc, char* argv[], string& local_peer, string& remote_peer, bool& server_mode);
|
||||
void usage(const char* prg);
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
#include "common.h"
|
||||
#include "controlobserver.h"
|
||||
|
||||
#ifndef USE_PEERCONNECT_STRICT_NAMESPACE
|
||||
using namespace pc;
|
||||
#endif // USE_PEERCONNECT_STRICT_NAMESPACE
|
||||
|
||||
namespace pc {
|
||||
|
||||
class Control;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "peerconnect.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace pc;
|
||||
|
||||
|
||||
void test_normal();
|
||||
void test_writable();
|
||||
|
|
Loading…
Reference in New Issue