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 2017/12/03 01:02:35 UTC

[05/50] [abbrv] thrift git commit: THRIFT-4306 Thrift imports not replicated to D service output Client: D language Patch: Neia Neutuladh

THRIFT-4306 Thrift imports not replicated to D service output
Client: D language
Patch: Neia Neutuladh


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/44701e82
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/44701e82
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/44701e82

Branch: refs/heads/0.11.0
Commit: 44701e82ad351d7472101ad81aa13e775ffb7384
Parents: 0ad20bd
Author: Jens Geyer <je...@apache.org>
Authored: Thu Oct 19 23:15:51 2017 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Thu Oct 19 23:16:32 2017 +0200

----------------------------------------------------------------------
 compiler/cpp/src/thrift/generate/t_d_generator.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/44701e82/compiler/cpp/src/thrift/generate/t_d_generator.cc
----------------------------------------------------------------------
diff --git a/compiler/cpp/src/thrift/generate/t_d_generator.cc b/compiler/cpp/src/thrift/generate/t_d_generator.cc
index b602e0d..159d93a 100644
--- a/compiler/cpp/src/thrift/generate/t_d_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_d_generator.cc
@@ -103,7 +103,7 @@ protected:
     // Include type modules from other imported programs.
     const vector<t_program*>& includes = program_->get_includes();
     for (size_t i = 0; i < includes.size(); ++i) {
-      f_types_ << "import " << render_package(*(includes[i])) << includes[i]->get_name()
+      f_types_ << "public import " << render_package(*(includes[i])) << includes[i]->get_name()
                << "_types;" << endl;
     }
     if (!includes.empty())