Remove "using namespace std;".

This commit is contained in:
John Hood
2018-08-15 01:56:53 -04:00
parent fb23168ed9
commit 756f4f8e98
13 changed files with 16 additions and 24 deletions
+1 -2
View File
@@ -107,7 +107,6 @@ static int run_server( const char *desired_ip, const char *desired_port,
const string &command_path, char *command_argv[],
const int colors, unsigned int verbose, bool with_motd );
using namespace std;
static void print_version( FILE *file )
{
@@ -150,7 +149,7 @@ static string get_SSH_IP( void )
fputs( "Warning: SSH_CONNECTION not found; binding to any interface.\n", stderr );
return string( "" );
}
istringstream ss( SSH_CONNECTION );
std::istringstream ss( SSH_CONNECTION );
string dummy, local_interface_IP;
ss >> dummy >> dummy >> local_interface_IP;
if ( !ss ) {