summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/posix/Socket.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-29 20:27:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-29 20:27:08 +0000
commiteaa71dc56b0ec9bddc24709a2ab8d1b6e3d13e9c (patch)
treeccb2b945c326b6da091cd24f712fa8b78f7bc858 /cpp/src/qpid/sys/posix/Socket.cpp
parentbcd7f23da214d3d8c9128d9073a7deb81768bc5f (diff)
downloadqpid-python-eaa71dc56b0ec9bddc24709a2ab8d1b6e3d13e9c.tar.gz
QPID-1198 (Partial): Missing header files that are really needed
Patches from Manuel Teira. Compilation works on Linux due to implicit header inclusions but fails on Solaris Some tightening up of std and global namespace use. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/posix/Socket.cpp')
-rw-r--r--cpp/src/qpid/sys/posix/Socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/posix/Socket.cpp b/cpp/src/qpid/sys/posix/Socket.cpp
index d4de1741b1..c742b08c64 100644
--- a/cpp/src/qpid/sys/posix/Socket.cpp
+++ b/cpp/src/qpid/sys/posix/Socket.cpp
@@ -257,7 +257,7 @@ std::string Socket::getLocalAddress() const
uint16_t Socket::getLocalPort() const
{
- return atoi(getService(impl->fd, true).c_str());
+ return std::atoi(getService(impl->fd, true).c_str());
}
uint16_t Socket::getRemotePort() const