From ae0a757cb16b7c941ce3fc292976beef46391d9e Mon Sep 17 00:00:00 2001
From: Rickard <rickard.hallerback@gmail.com>
Date: Thu, 17 Sep 2020 11:08:05 +0200
Subject: [PATCH] cc/client/client_session.h: Single-parameter constructor
 should be marked explicit

---
 tensorflow/cc/client/client_session.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tensorflow/cc/client/client_session.h b/tensorflow/cc/client/client_session.h
index 3765eaec9bf..a661319b074 100644
--- a/tensorflow/cc/client/client_session.h
+++ b/tensorflow/cc/client/client_session.h
@@ -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);