diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-09-09 15:12:00 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-09-09 15:12:00 -0230 |
commit | e71a65a56ab346e321c4294bccf47d7ef3107115 (patch) | |
tree | f41bb2d0676438becc4bab0a0e3612a857a50604 /cpp/src/Ice/LoggerUtil.cpp | |
parent | http://bugzilla/bugzilla/show_bug.cgi?id=2839 (diff) | |
download | ice-e71a65a56ab346e321c4294bccf47d7ef3107115.tar.bz2 ice-e71a65a56ab346e321c4294bccf47d7ef3107115.tar.xz ice-e71a65a56ab346e321c4294bccf47d7ef3107115.zip |
Bug 2664 - do not calculate stack traces
Diffstat (limited to 'cpp/src/Ice/LoggerUtil.cpp')
-rw-r--r-- | cpp/src/Ice/LoggerUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/LoggerUtil.cpp b/cpp/src/Ice/LoggerUtil.cpp index 2b92afe037a..2a98d72fa3f 100644 --- a/cpp/src/Ice/LoggerUtil.cpp +++ b/cpp/src/Ice/LoggerUtil.cpp @@ -16,10 +16,10 @@ using namespace std; -namespace IceInternal +namespace IceUtilInternal { -bool printStackTraces = false; +extern bool printStackTraces; } @@ -40,7 +40,7 @@ Ice::LoggerOutputBase& Ice::operator<<(Ice::LoggerOutputBase& out, const std::exception& ex) { #ifdef __GNUC__ - if(IceInternal::printStackTraces) + if(IceUtilInternal::printStackTraces) { const ::IceUtil::Exception* exception = dynamic_cast<const ::IceUtil::Exception*>(&ex); if(exception) |