diff options
author | Jose <jose@zeroc.com> | 2019-03-21 20:44:15 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-03-21 20:44:15 +0100 |
commit | 526499e7e336344c512628f64e7e7a456abf8107 (patch) | |
tree | 01642a95ec51e02b61cd622adae9627a39edcfeb /cpp/src/slice2swift/Gen.cpp | |
parent | Missing calls to read/write pending values (diff) | |
download | ice-526499e7e336344c512628f64e7e7a456abf8107.tar.bz2 ice-526499e7e336344c512628f64e7e7a456abf8107.tar.xz ice-526499e7e336344c512628f64e7e7a456abf8107.zip |
Fix proxy inheritance
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r-- | cpp/src/slice2swift/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp index 20b3125ea13..ab509811d30 100644 --- a/cpp/src/slice2swift/Gen.cpp +++ b/cpp/src/slice2swift/Gen.cpp @@ -811,7 +811,7 @@ Gen::ProxyVisitor::visitClassDefStart(const ClassDefPtr& p) out << sp; out << nl << "public protocol " << prx << ":"; - if(bases.empty()) + if(bases.empty() || (baseClass && baseClass->allOperations().empty())) { out << " " << getUnqualified("Ice.ObjectPrx", swiftModule); } |