From 9011d18b802f9f48700da770082339b618710d03 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Sun, 3 May 2020 01:25:02 +0300 Subject: [PATCH] Update S3Common.h --- src/IO/S3Common.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/IO/S3Common.h b/src/IO/S3Common.h index 1e9366387cf..57bc0461f21 100644 --- a/src/IO/S3Common.h +++ b/src/IO/S3Common.h @@ -23,13 +23,15 @@ public: static ClientFactory & instance(); - std::shared_ptr create(const String & endpoint, - const String & access_key_id, - const String & secret_access_key); + static std::shared_ptr create( + const String & endpoint, + const String & access_key_id, + const String & secret_access_key); - std::shared_ptr create(Aws::Client::ClientConfiguration & cfg, - const String & access_key_id, - const String & secret_access_key); + static std::shared_ptr create( + Aws::Client::ClientConfiguration & cfg, + const String & access_key_id, + const String & secret_access_key); private: ClientFactory();