You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2022/02/26 11:58:44 UTC
[thrift] branch master updated: Fixes #5529 missing space in between "<" and "::" in c++ generator
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new fa44e90 Fixes #5529 missing space in between "<" and "::" in c++ generator
fa44e90 is described below
commit fa44e9048ac45de25f8a726694a13ac25d2c73fe
Author: Andreas Renggli <an...@ziemergroup.com>
AuthorDate: Sat Feb 26 07:29:49 2022 +0100
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 7e9d9b0..c10d399 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_;"<<endl;
+ indent() << "std::shared_ptr< ::apache::thrift::async::TConcurrentClientSyncInfo> sync_;"<<endl;
}
indent_down();
}