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:
Anders Kaseorg
2012-02-17 19:57:12 -05:00
parent 32ff4af359
commit 6c52c1d306
11 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
#include <string.h>
#include <stdint.h>
using namespace std;
using std::string;
long int myatoi( char *str );
+1
View File
@@ -27,6 +27,7 @@
#include "crypto.h"
using namespace Crypto;
using namespace std;
int main( int argc, char *argv[] )
{
+1
View File
@@ -27,6 +27,7 @@
#include "crypto.h"
using namespace Crypto;
using namespace std;
int main( int argc, char *argv[] )
{
+1
View File
@@ -25,6 +25,7 @@
#include "terminaloverlay.h"
using namespace Overlay;
using std::max;
bool ConditionalOverlay::start_clock( uint64_t local_frame_acked, uint64_t now, unsigned int send_interval )
{
+4 -1
View File
@@ -28,7 +28,10 @@
namespace Overlay {
using namespace Terminal;
using namespace Network;
using namespace std;
using std::deque;
using std::list;
using std::vector;
using std::wstring;
enum Validity {
Pending,
-1
View File
@@ -28,7 +28,6 @@
#include "crypto.h"
using namespace std;
using namespace Crypto;
namespace Network {
-1
View File
@@ -29,7 +29,6 @@
#include "transportsender.h"
#include "transportfragment.h"
using namespace std;
namespace Network {
template <class MyState, class RemoteState>
+2 -1
View File
@@ -25,7 +25,8 @@
#include "transportinstruction.pb.h"
using namespace std;
using std::vector;
using std::string;
using namespace TransportBuffers;
namespace Network {
+1
View File
@@ -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 )
+2 -1
View File
@@ -28,7 +28,8 @@
#include "transportstate.h"
#include "transportfragment.h"
using namespace std;
using std::list;
using std::pair;
using namespace TransportBuffers;
namespace Network {
+3 -1
View File
@@ -26,7 +26,9 @@
#include "parseraction.h"
using namespace std;
using std::deque;
using std::list;
using std::string;
namespace Network {
enum UserEventType {