diff options
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index ebeb1c685bf..d5014036981 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -899,7 +899,7 @@ IceInternal::BasicStream::throwException(const char** throwsBegin, const char** { for (const char** p = ex.__getExceptionIds(); strcmp(*p, "::Ice::UserException") != 0; ++p) { - if (binary_search(throwsBegin, throwsEnd, *p)) + if (binary_search(throwsBegin, throwsEnd, string(*p))) { ex.__read(this); ex._throw(); |