]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1522] forgot to make another cleanup: made the constructor of
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 30 Dec 2011 20:50:09 +0000 (12:50 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 30 Dec 2011 20:50:09 +0000 (12:50 -0800)
SocketRequestorCCSession 'explicit'.

src/lib/server_common/socket_request.cc

index cdbcf3b60b44ad62b0428aa52533068643174ff4..399a6e47dc1d7ada45ca935b15f193a65997421e 100644 (file)
@@ -252,7 +252,7 @@ protocolString(SocketRequestor::Protocol protocol) {
 // be closed during the lifetime of this class
 class SocketRequestorCCSession : public SocketRequestor {
 public:
-    SocketRequestorCCSession(config::ModuleCCSession& session) :
+    explicit SocketRequestorCCSession(config::ModuleCCSession& session) :
         session_(session)
     {
         // We need to filter SIGPIPE to prevent it from happening in