Skip to content
Snippets Groups Projects
Commit d09f9289 authored by drausch's avatar drausch
Browse files

removed using namespace std; (led to name clash)

parent de3c4b1a
Branches
No related tags found
1 merge request!15Feature/clang compile fixes
......@@ -51,7 +51,6 @@
#include <time.h>
#endif
#include <iostream>
using namespace std;
#include <cerrno> // errno
#include <cstring>
......@@ -62,7 +61,7 @@ using namespace std;
/* MACROS AND DEFINES */
/*============================================================================*/
bool IVistaSocket::PrintErrorMessage(const string &sMethodName)
bool IVistaSocket::PrintErrorMessage(const std::string &sMethodName)
{
std::string sErrorMessage;
#ifdef WIN32
......@@ -671,7 +670,7 @@ int IVistaSocket::ReceiveRaw(void *pvBuffer, const int iLength, int iTimeout, i
if(PrintErrorMessage("ReceiveRaw") == false)
{
// it's a real error and _not_ WOULDBLOCK
if(GetSocketTypeString() != string("UDP"))
if(GetSocketTypeString() != std::string("UDP"))
{
// we have a real error on a tcp socket
SetErrorState(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment