summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-12-11 14:21:09 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-12-11 14:21:09 -0330
commitebb3e742c62664b01efe4c5bd797cc0a8c497a0a (patch)
tree227c5d47103760cf60266611a5bf2feed8dc5ad9 /cpp/src/Slice/CPlusPlusUtil.cpp
parentdisable ami & custom tests for VC6 in cpp/allTests.py (diff)
downloadice-ebb3e742c62664b01efe4c5bd797cc0a8c497a0a.tar.bz2
ice-ebb3e742c62664b01efe4c5bd797cc0a8c497a0a.tar.xz
ice-ebb3e742c62664b01efe4c5bd797cc0a8c497a0a.zip
Fixed bug in slice compiler that was preventing protobuf from working
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index fce74090cb9..8a9854e7dab 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -188,7 +188,7 @@ sequenceTypeToString(const SequencePtr& seq, const StringList& metaData, int typ
{
// Get the metadata associated at the point of definition.
bool protobuf;
- seqType = findMetaData(seq, metaData, protobuf, typeCtx);
+ seqType = findMetaData(seq, seq->getMetaData(), protobuf, typeCtx);
if(protobuf && !seqType.empty())
{
return seqType;