summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-09-09 20:47:14 +0200
committerBenoit Foucher <benoit@zeroc.com>2009-09-09 20:47:14 +0200
commit42046f618d3ca66f8fa1ff8f27f862416d3d0ac8 (patch)
tree48f1ef05110d097025e4c68f786713c3cd75a1a3 /cpp/src/Ice/Instance.cpp
parent- cpp/demo/Ice/session now uses a timer for the periodic reaping. (diff)
downloadice-42046f618d3ca66f8fa1ff8f27f862416d3d0ac8.tar.bz2
ice-42046f618d3ca66f8fa1ff8f27f862416d3d0ac8.tar.xz
ice-42046f618d3ca66f8fa1ff8f27f862416d3d0ac8.zip
Fixed Visual Studio compilation error related to printStackTraces and minor cleanup
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 790c34cead1..c5b2b4bff1b 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -57,17 +57,11 @@ using namespace std;
using namespace Ice;
using namespace IceInternal;
-namespace IceUtil
-{
-
-extern bool ICE_DECLSPEC_IMPORT nullHandleAbort;
-
-}
-
namespace IceUtilInternal
{
-extern bool printStackTraces;
+extern bool ICE_DECLSPEC_IMPORT nullHandleAbort;
+extern bool ICE_DECLSPEC_IMPORT printStackTraces;
};
@@ -829,7 +823,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
if(_initData.properties->getPropertyAsInt("Ice.NullHandleAbort") > 0)
{
- IceUtil::nullHandleAbort = true;
+ IceUtilInternal::nullHandleAbort = true;
}
#ifdef NDEBUG