diff options
author | Jose <jose@zeroc.com> | 2017-04-03 10:31:13 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-03 10:31:13 +0200 |
commit | 15950630cab07f53336895e9974c7710f1dd1c96 (patch) | |
tree | 186d03ff1416991aae0c82bcfb6ce7e1f6ff49a8 /cpp/src/Ice/IncomingAsync.cpp | |
parent | Small fixes to synchronize with the Ice manual (diff) | |
download | ice-15950630cab07f53336895e9974c7710f1dd1c96.tar.bz2 ice-15950630cab07f53336895e9974c7710f1dd1c96.tar.xz ice-15950630cab07f53336895e9974c7710f1dd1c96.zip |
Better fix for VC90 handleException overloads
Do not use static const string function variables
as that is not thread safe, instead we add a new
overload that takes a const char* for VC90 only
Diffstat (limited to 'cpp/src/Ice/IncomingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/IncomingAsync.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/IncomingAsync.cpp b/cpp/src/Ice/IncomingAsync.cpp index 3048ba7fe2e..ab359f513d4 100644 --- a/cpp/src/Ice/IncomingAsync.cpp +++ b/cpp/src/Ice/IncomingAsync.cpp @@ -125,8 +125,7 @@ IceInternal::IncomingAsync::ice_exception() } checkResponseSent(); - static const string msg = "unknown c++ exception"; - IncomingBase::exception(msg, true); // User thread + IncomingBase::exception("unknown c++ exception", true); // User thread } #endif |