diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-04-07 06:53:20 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-04-07 06:53:20 -0700 |
commit | fac917f09ae874e396086788f99178a5fa37c9c5 (patch) | |
tree | ae5df4a5f4d23d2769015025166ea358cddce0a1 /cpp/src/slice2cs/Gen.cpp | |
parent | fixing C# compile errors in IceSSL (diff) | |
download | ice-fac917f09ae874e396086788f99178a5fa37c9c5.tar.bz2 ice-fac917f09ae874e396086788f99178a5fa37c9c5.tar.xz ice-fac917f09ae874e396086788f99178a5fa37c9c5.zip |
bug 3739 - generate concrete Java/C# class for Slice class that inherits no operations from interface
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cs/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index be1cc03ffb5..32cd083c7c1 100644 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -1400,7 +1400,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p) else { _out << nl << "public "; - if(p->isAbstract()) + if(p->allOperations().size() > 0) // Don't use isAbstract() here - see bug 3739 { _out << "abstract "; } |