diff options
author | Marc Laukien <marc@zeroc.com> | 2002-05-13 16:57:43 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-05-13 16:57:43 +0000 |
commit | 0dd77f75ece3d3cfe69c7eb73d2bd161842f2f53 (patch) | |
tree | 892e0b522717be150d1afe661236b133e6dc1979 /cpp/src/slice2cpp/Gen.cpp | |
parent | fix (diff) | |
download | ice-0dd77f75ece3d3cfe69c7eb73d2bd161842f2f53.tar.bz2 ice-0dd77f75ece3d3cfe69c7eb73d2bd161842f2f53.tar.xz ice-0dd77f75ece3d3cfe69c7eb73d2bd161842f2f53.zip |
fix
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 679fa5ce774..3291133b600 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -597,7 +597,8 @@ Slice::Gen::TypesVisitor::visitSequence(const SequencePtr& p) H << sp << nl << "typedef ::std::vector<" << s << "> " << name << ';'; BuiltinPtr builtin = BuiltinPtr::dynamicCast(type); - if (!builtin && !p->isLocal()) + if (!p->isLocal() && + (!builtin || builtin->kind() == Builtin::KindObject || builtin->kind() == Builtin::KindObjectProxy)) { string scoped = p->scoped(); string scope = p->scope(); |