summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Renggli <andreas.renggli@ziemergroup.com>2022-02-26 07:29:49 +0100
committerJens Geyer <Jens-G@users.noreply.github.com>2022-02-26 12:58:32 +0100
commitfa44e9048ac45de25f8a726694a13ac25d2c73fe (patch)
tree477f792eb949cbbed0f9c493189a5bcfe45db6b0
parent8fea4ea0c1469bef5c06efd9a125b94f3bf66922 (diff)
downloadthrift-fa44e9048ac45de25f8a726694a13ac25d2c73fe.tar.gz
Fixes #5529 missing space in between "<" and "::" in c++ generator
-rw-r--r--compiler/cpp/src/thrift/generate/t_cpp_generator.cc6
1 files 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_;"<<endl;
+ indent() << "std::shared_ptr< ::apache::thrift::async::TConcurrentClientSyncInfo> sync_;"<<endl;
}
indent_down();
}