diff options
author | Jose <jose@zeroc.com> | 2019-02-28 17:43:55 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-02-28 17:43:55 +0100 |
commit | 3039c5452c9061cdf9a7e824af2c33cb30ad1937 (patch) | |
tree | 0a88bb0a2707238e64c3b9b4eac0a91773f41304 /cpp/src/slice2swift/SwiftUtil.cpp | |
parent | Fix to typeToString implementation (diff) | |
download | ice-3039c5452c9061cdf9a7e824af2c33cb30ad1937.tar.bz2 ice-3039c5452c9061cdf9a7e824af2c33cb30ad1937.tar.xz ice-3039c5452c9061cdf9a7e824af2c33cb30ad1937.zip |
Another fix for typeToString
Diffstat (limited to 'cpp/src/slice2swift/SwiftUtil.cpp')
-rw-r--r-- | cpp/src/slice2swift/SwiftUtil.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp index 2c66616da49..a758d6b19f8 100644 --- a/cpp/src/slice2swift/SwiftUtil.cpp +++ b/cpp/src/slice2swift/SwiftUtil.cpp @@ -292,11 +292,6 @@ SwiftGenerator::typeToString(const TypePtr& type, const ContainedPtr& toplevel, { t = getUnqualified(getAbsoluteImpl(cont), currentModule); } - else - { - assert(false); - t = "???"; - } if(!nonnull && (optional || isNullableType(type))) { |