summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-05-17 19:41:44 +0000
committerMarc Laukien <marc@zeroc.com>2002-05-17 19:41:44 +0000
commit08ca3ef715e1a32c631a71c558ba818704e00ebe (patch)
treebd92cc31472b4445ae2b2d48fc68f4feb7e48cd6 /cpp/src/slice2cpp/Gen.cpp
parentdll export fix (diff)
downloadice-08ca3ef715e1a32c631a71c558ba818704e00ebe.tar.bz2
ice-08ca3ef715e1a32c631a71c558ba818704e00ebe.tar.xz
ice-08ca3ef715e1a32c631a71c558ba818704e00ebe.zip
dll export fix
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index c4db37cdebf..6c246d63d50 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 " << _dllExport << "__U__" << name << " { };";
+ H << sp << nl << "class __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 " << _dllExport << "__U__" << name << " { };";
+ H << sp << nl << "class __U__" << name << " { };";
H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name
<< ");";
H << nl << _dllExport << "void __read(::IceInternal::BasicStream*, " << name << "&, __U__" << name << ");";