cc/client/client_session.h: Single-parameter constructor should be marked explicit

This commit is contained in:
Rickard 2020-09-17 11:08:05 +02:00
parent 81953ff3f0
commit ae0a757cb1

View File

@ -64,7 +64,7 @@ class ClientSession {
ClientSession(const Scope& scope, const string& target);
/// Same as above, but use the empty string ("") as the target specification.
ClientSession(const Scope& scope);
explicit ClientSession(const Scope& scope);
/// Create a new session, configuring it with `session_options`.
ClientSession(const Scope& scope, const SessionOptions& session_options);