diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 6c246d63d50..c4db37cdebf 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -607,7 +607,7 @@ Slice::Gen::TypesVisitor::visitSequence(const SequencePtr& p) // TODO: ice_marshal/ice_unmarshal, __write/__read can be // moved into the helper. // - H << sp << nl << "class __U__" << name << " { };"; + H << sp << nl << "class " << _dllExport << "__U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; H << nl << _dllExport << "void __read(::IceInternal::BasicStream*, " << name << "&, __U__" << name << ");"; @@ -740,7 +740,7 @@ Slice::Gen::TypesVisitor::visitDictionary(const DictionaryPtr& p) // TODO: ice_marshal/ice_unmarshal, __write/__read can be // moved into the helper. // - H << sp << nl << "class __U__" << name << " { };"; + H << sp << nl << "class " << _dllExport << "__U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; H << nl << _dllExport << "void __read(::IceInternal::BasicStream*, " << name << "&, __U__" << name << ");"; |