Parcourir la source

[1595] Remove 'explicit'

The constructor now has multiple parameters, so there's no chance it'd
get triggered by conversion.
Michal 'vorner' Vaner il y a 13 ans
Parent
commit
b341b3ca37
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/server_common/socket_request.cc

+ 2 - 2
src/lib/server_common/socket_request.cc

@@ -264,8 +264,8 @@ getSocketFd(const std::string& token, int sock_pass_fd) {
 // be closed during the lifetime of this class
 class SocketRequestorCCSession : public SocketRequestor {
 public:
-    explicit SocketRequestorCCSession(cc::AbstractSession& session,
-                                      const std::string& app_name) :
+    SocketRequestorCCSession(cc::AbstractSession& session,
+                             const std::string& app_name) :
         session_(session),
         app_name_(app_name)
     {