From fa44e9048ac45de25f8a726694a13ac25d2c73fe Mon Sep 17 00:00:00 2001 From: Andreas Renggli Date: Sat, 26 Feb 2022 07:29:49 +0100 Subject: Fixes #5529 missing space in between "<" and "::" in c++ generator --- compiler/cpp/src/thrift/generate/t_cpp_generator.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/cpp/src/thrift/generate/t_cpp_generator.cc b/compiler/cpp/src/thrift/generate/t_cpp_generator.cc index 7e9d9b0a7..c10d39937 100644 --- a/compiler/cpp/src/thrift/generate/t_cpp_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_cpp_generator.cc @@ -2476,7 +2476,7 @@ void t_cpp_generator::generate_service_client(t_service* tservice, string style) f_header_ << indent() << service_name_ << style << "Client" << short_suffix << "(" << prot_ptr << " prot"; if (style == "Concurrent") { - f_header_ << ", std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync"; + f_header_ << ", std::shared_ptr< ::apache::thrift::async::TConcurrentClientSyncInfo> sync"; } f_header_ << ") "; @@ -2499,7 +2499,7 @@ void t_cpp_generator::generate_service_client(t_service* tservice, string style) f_header_ << indent() << service_name_ << style << "Client" << short_suffix << "(" << prot_ptr << " iprot, " << prot_ptr << " oprot"; if (style == "Concurrent") { - f_header_ << ", std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync"; + f_header_ << ", std::shared_ptr< ::apache::thrift::async::TConcurrentClientSyncInfo> sync"; } f_header_ << ") "; @@ -2659,7 +2659,7 @@ void t_cpp_generator::generate_service_client(t_service* tservice, string style) if (style == "Concurrent") { f_header_ << - indent() << "std::shared_ptr<::apache::thrift::async::TConcurrentClientSyncInfo> sync_;"< sync_;"<