diff options
author | Jose <jose@zeroc.com> | 2019-03-01 16:05:21 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-03-01 16:05:21 +0100 |
commit | 611266cabeebbcafdbab1597b6d0ea29ab1e21ac (patch) | |
tree | ce008e3c684a567f92fdc9c41c87c0e38fff8089 /cpp/src/slice2swift/Gen.cpp | |
parent | Remove unused test file (diff) | |
download | ice-611266cabeebbcafdbab1597b6d0ea29ab1e21ac.tar.bz2 ice-611266cabeebbcafdbab1597b6d0ea29ab1e21ac.tar.xz ice-611266cabeebbcafdbab1597b6d0ea29ab1e21ac.zip |
Fix proxy class names
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r-- | cpp/src/slice2swift/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp index 47076143364..d38a28dd435 100644 --- a/cpp/src/slice2swift/Gen.cpp +++ b/cpp/src/slice2swift/Gen.cpp @@ -511,9 +511,9 @@ Gen::ProxyVisitor::visitClassDefStart(const ClassDefPtr& p) } const string swiftModule = getSwiftModule(getTopLevelModule(ContainedPtr::dynamicCast(p))); - - const string prx = p->name() + "Prx"; - const string prxI = "_" + p->name() + "PrxI"; + const string name = getUnqualified(getAbsolute(p), swiftModule); + const string prx = name + "Prx"; + const string prxI = "_" + name + "PrxI"; out << nl << "public protocol " << prx << ": " << (baseClass ? fixIdent(baseClass->name()) : getUnqualified("Ice.ObjectPrx", swiftModule)); |