]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Ssl::PeerConnector class part 2
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 30 Apr 2014 13:41:39 +0000 (16:41 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 30 Apr 2014 13:41:39 +0000 (16:41 +0300)
Move "operator <<(std::ostream &, const Ssl::PeerConnectorAnswer&)" under the
Ssl namespace to make clang compiler happy.

src/ssl/PeerConnector.cc
src/ssl/PeerConnector.h

index d6c32347a260efdfbe4b99d4725b7e7953fea1f4..1d68c78dc5f1144582834171c6363545e05874d9 100644 (file)
@@ -539,7 +539,7 @@ Ssl::PeerConnectorAnswer::~PeerConnectorAnswer()
 }
 
 std::ostream &
-operator <<(std::ostream &os, const Ssl::PeerConnectorAnswer &answer)
+Ssl::operator <<(std::ostream &os, const Ssl::PeerConnectorAnswer &answer)
 {
     return os << answer.conn << ", " << answer.error;
 }
index 820026df24341e104ebde6384f26582dcedc5589..48f49ffad3081ffe5d5af2901ebab81409c3fd01 100644 (file)
@@ -163,8 +163,8 @@ private:
     CBDATA_CLASS2(PeerConnector);
 };
 
-} // namespace Ssl
-
 std::ostream &operator <<(std::ostream &os, const Ssl::PeerConnectorAnswer &a);
 
+} // namespace Ssl
+
 #endif /* SQUID_PEER_CONNECTOR_H */