summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index 1f7ec9f9df8..ca036e2cc60 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -200,12 +200,6 @@ Slice::inputTypeToString(const TypePtr& type)
return en->scoped();
}
- NativePtr native = NativePtr::dynamicCast(type);
- if (native)
- {
- return native->scoped();
- }
-
ContainedPtr contained = ContainedPtr::dynamicCast(type);
if (contained)
{
@@ -252,12 +246,6 @@ Slice::outputTypeToString(const TypePtr& type)
return proxy->_class()->scoped() + "Prx&";
}
- NativePtr native = NativePtr::dynamicCast(type);
- if (native)
- {
- return native->scoped();
- }
-
ContainedPtr contained = ContainedPtr::dynamicCast(type);
if (contained)
{
@@ -310,12 +298,6 @@ Slice::exceptionTypeToString(const TypePtr& type)
return en->scoped();
}
- NativePtr native = NativePtr::dynamicCast(type);
- if (native)
- {
- return native->scoped();
- }
-
ContainedPtr contained = ContainedPtr::dynamicCast(type);
if (contained)
{
@@ -434,9 +416,6 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
return;
}
- NativePtr native = NativePtr::dynamicCast(type);
- assert(!native); // TODO
-
ConstructedPtr constructed = ConstructedPtr::dynamicCast(type);
if (!constructed)
{