summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 7a39e08d904..7bccba8919f 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2554,7 +2554,9 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p)
//
// run
//
- // C << nl << nl << "virtual " << _dllExport << "::Ice::DispatchStatus";
+ // No need to dllexport run since the caller (the proxy) is always in the same
+ // DLL as this translation unit (the direct delegate).
+ //
C << nl << nl << "virtual ::Ice::DispatchStatus";
C << nl << "run(::Ice::Object* object)";
C << sb;