Purge ‘using namespace std’ from header files
std::bind and boost::lambda::bind don’t mix. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
|
||||
#include "crypto.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Crypto;
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "transportsender.h"
|
||||
#include "transportfragment.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Network {
|
||||
template <class MyState, class RemoteState>
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
|
||||
#include "transportinstruction.pb.h"
|
||||
|
||||
using namespace std;
|
||||
using std::vector;
|
||||
using std::string;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "transportfragment.h"
|
||||
|
||||
using namespace Network;
|
||||
using namespace std;
|
||||
|
||||
template <class MyState>
|
||||
TransportSender<MyState>::TransportSender( Connection *s_connection, MyState &initial_state )
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
#include "transportstate.h"
|
||||
#include "transportfragment.h"
|
||||
|
||||
using namespace std;
|
||||
using std::list;
|
||||
using std::pair;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
namespace Network {
|
||||
|
||||
Reference in New Issue
Block a user