File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -507,9 +507,13 @@ class TClient
507
507
508
508
// //////////////////////////////////////////////////////////////////////////////
509
509
510
+ TClientContext CreateClientContext (
511
+ const TString& serverName,
512
+ const TCreateClientOptions& options);
513
+
510
514
TClientPtr CreateClientImpl (
511
515
const TString& serverName,
512
- const TCreateClientOptions& options = TCreateClientOptions() );
516
+ const TCreateClientOptions& options = {} );
513
517
514
518
// //////////////////////////////////////////////////////////////////////////////
515
519
Original file line number Diff line number Diff line change @@ -572,16 +572,14 @@ class IClient
572
572
virtual void Shutdown () = 0;
573
573
};
574
574
575
-
576
575
// / Create a client for particular MapReduce cluster.
577
576
IClientPtr CreateClient (
578
577
const TString& serverName,
579
- const TCreateClientOptions& options = TCreateClientOptions());
580
-
578
+ const TCreateClientOptions& options = {});
581
579
582
580
// / Create a client for mapreduce cluster specified in `YT_PROXY` environment variable.
583
581
IClientPtr CreateClientFromEnv (
584
- const TCreateClientOptions& options = TCreateClientOptions() );
582
+ const TCreateClientOptions& options = {} );
585
583
586
584
// //////////////////////////////////////////////////////////////////////////////
587
585
You can’t perform that action at this time.
0 commit comments