File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -748,8 +748,8 @@ TServiceDescriptor& TServiceDescriptor::SetAcceptsBaggage(bool value)
748
748
749
749
// //////////////////////////////////////////////////////////////////////////////
750
750
751
- TMethodDescriptor::TMethodDescriptor (const TString& methodName)
752
- : MethodName(methodName)
751
+ TMethodDescriptor::TMethodDescriptor (std::string methodName)
752
+ : MethodName(std::move( methodName) )
753
753
{ }
754
754
755
755
TMethodDescriptor& TMethodDescriptor::SetMultiplexingBand (EMultiplexingBand value)
Original file line number Diff line number Diff line change @@ -444,11 +444,11 @@ struct TServiceDescriptor
444
444
445
445
struct TMethodDescriptor
446
446
{
447
- TString MethodName;
447
+ std::string MethodName;
448
448
EMultiplexingBand MultiplexingBand = EMultiplexingBand::Default;
449
449
bool StreamingEnabled = false ;
450
450
451
- explicit TMethodDescriptor (const TString& methodName);
451
+ explicit TMethodDescriptor (std::string methodName);
452
452
453
453
TMethodDescriptor& SetMultiplexingBand (EMultiplexingBand value);
454
454
TMethodDescriptor& SetStreamingEnabled (bool value);
You can’t perform that action at this time.
0 commit comments