summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-09-24 17:01:05 -0400
committerBernard Normier <bernard@zeroc.com>2012-09-24 17:01:05 -0400
commitcc15ebed97ad43d9f2b04e73c8555ac4b2a3a0a3 (patch)
treeccf84d02fe6defae4995259028d4bacd4a403ee4 /cpp/src/Slice/CPlusPlusUtil.cpp
parentPartial fix for ICE-3393: (diff)
downloadice-cc15ebed97ad43d9f2b04e73c8555ac4b2a3a0a3.tar.bz2
ice-cc15ebed97ad43d9f2b04e73c8555ac4b2a3a0a3.tar.xz
ice-cc15ebed97ad43d9f2b04e73c8555ac4b2a3a0a3.zip
Replaced optionalType in StreamTrait<> by a bool fixedLength member
and updated slice2cpp accordingly No longer rely on assert / static_assert to detect incorrect use of base StreamOptionalHelper: now, the code no longer compiles vector<bool> is now handled like a built-in type: InputStream and OutputStream have now read / write vector<bool>& functions. The default implementation (StreamI) simply delegates to the same functions on BasicStream.
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index 83fb812cd20..086e839b195 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -105,13 +105,6 @@ sequenceTypeToString(const SequencePtr& seq, const StringList& metaData, int typ
}
else
{
- // Get the metadata associated at the point of definition.
- seqType = findMetaData(seq->getMetaData(), typeCtx);
- if(!seqType.empty())
- {
- return seqType;
- }
-
return fixKwd(seq->scoped());
}
}