summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-10-11 06:05:51 +0200
committerBenoit Foucher <benoit@zeroc.com>2009-10-11 06:05:51 +0200
commit4c57f1551b563caa3f2708e56ad30209787013c0 (patch)
tree8361e5fe84071709bdbdd368edc2a2dc28b41d92 /cpp/src/slice2cpp/Gen.cpp
parentBug 4306 - vsplugin modifies projects when not enabled (diff)
downloadice-4c57f1551b563caa3f2708e56ad30209787013c0.tar.bz2
ice-4c57f1551b563caa3f2708e56ad30209787013c0.tar.xz
ice-4c57f1551b563caa3f2708e56ad30209787013c0.zip
Fixed Windows build issues
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 97424a0a715..774d1766bc5 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -243,12 +243,7 @@ Slice::Gen::generate(const UnitPtr& p)
H << "\n#include <Ice/Object.h>";
}
- if(p->hasNonLocalExceptions())
- {
- H << "\n#include <Ice/UserExceptionFactory.h>";
- }
-
- if(p->hasDataOnlyClasses() || p->hasNonLocalExceptions())
+ if(p->hasNonLocalDataOnlyClasses() || p->hasNonLocalExceptions())
{
H << "\n#include <Ice/FactoryTableInit.h>";
}