PROTON-1036: remove :: to get things compiling with optimizations

Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/67549fa5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/67549fa5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/67549fa5

Branch: refs/heads/go1
Commit: 67549fa5bfb4e1fd5723b7f3cec20656c542c80d
Parents: a94e635
Author: Robert Gemmell <[email protected]>
Authored: Tue Nov 3 12:58:18 2015 +0000
Committer: Robert Gemmell <[email protected]>
Committed: Tue Nov 3 12:59:16 2015 +0000

----------------------------------------------------------------------
 examples/cpp/select_broker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/67549fa5/examples/cpp/select_broker.cpp
----------------------------------------------------------------------
diff --git a/examples/cpp/select_broker.cpp b/examples/cpp/select_broker.cpp
index 49cc2dc..a8a8f8f 100644
--- a/examples/cpp/select_broker.cpp
+++ b/examples/cpp/select_broker.cpp
@@ -136,7 +136,7 @@ class broker {
         FD_SET(fd, &reading_);
         FD_SET(fd, &writing_);
         std::cout << "accept " << ::inet_ntoa(client_addr.sin_addr)
-                  << ":" << ::ntohs(client_addr.sin_port)
+                  << ":" << ntohs(client_addr.sin_port)
                   << " fd=" << fd << std::endl;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to