diff options
Diffstat (limited to 'remote-processor/ConnectionSocket.cpp')
-rw-r--r-- | remote-processor/ConnectionSocket.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote-processor/ConnectionSocket.cpp b/remote-processor/ConnectionSocket.cpp index 41edeaa..5b5de45 100644 --- a/remote-processor/ConnectionSocket.cpp +++ b/remote-processor/ConnectionSocket.cpp @@ -37,6 +37,8 @@ #define base CSocket +using std::string; + CConnectionSocket::CConnectionSocket() { } @@ -63,7 +65,7 @@ bool CConnectionSocket::connect(const string& strRemote, uint16_t uiPort, string // Connect if (::connect(getFd(), (struct sockaddr *)&server_addr, sizeof(struct sockaddr))) { - ostringstream oss; + std::ostringstream oss; oss << "CConnectionSocket::connect::connect on port: " << uiPort; perror(oss.str().c_str()); |