diff options
author | Michi Henning <michi@zeroc.com> | 2004-10-12 07:24:40 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-10-12 07:24:40 +0000 |
commit | 89de1fb33ca451c204cf712b4f938afcd61df973 (patch) | |
tree | d7979c334b28a021a6809f17b4afb49c79a51850 /cpp/src/slice2java/Gen.cpp | |
parent | Added dependencies on "generated" project. (diff) | |
download | ice-89de1fb33ca451c204cf712b4f938afcd61df973.tar.bz2 ice-89de1fb33ca451c204cf712b4f938afcd61df973.tar.xz ice-89de1fb33ca451c204cf712b4f938afcd61df973.zip |
Minor fix: for local interfaces, we were generating the source file for the
impl class twice.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index 779c8dccf2b..4f416edb444 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -1040,7 +1040,10 @@ Slice::Gen::OpsVisitor::visitClassDefStart(const ClassDefPtr& p) return false; } - writeOperations(p, false); + if(!p->isLocal()) + { + writeOperations(p, false); + } writeOperations(p, true); return false; |