From: JINMEI Tatuya Date: Fri, 30 Dec 2011 20:50:09 +0000 (-0800) Subject: [1522] forgot to make another cleanup: made the constructor of X-Git-Tag: trac2351_base~304^2~15^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a9bcf007a5e71875e15a0c878c440bd51ca5e40;p=thirdparty%2Fkea.git [1522] forgot to make another cleanup: made the constructor of SocketRequestorCCSession 'explicit'. --- diff --git a/src/lib/server_common/socket_request.cc b/src/lib/server_common/socket_request.cc index cdbcf3b60b..399a6e47dc 100644 --- a/src/lib/server_common/socket_request.cc +++ b/src/lib/server_common/socket_request.cc @@ -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