diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-05-23 08:29:34 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-05-23 08:29:34 +0000 |
commit | f4242a7b7d5bf1c14d3d08bc003f752d4b5a702f (patch) | |
tree | b4f22fa5fe3ee9adec8d8c154acccad708d4bae6 /cpp/src | |
parent | fixing facet bug with uncheckedCast (diff) | |
download | ice-f4242a7b7d5bf1c14d3d08bc003f752d4b5a702f.tar.bz2 ice-f4242a7b7d5bf1c14d3d08bc003f752d4b5a702f.tar.xz ice-f4242a7b7d5bf1c14d3d08bc003f752d4b5a702f.zip |
Fixed bug 2219
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/IceSSL/Certificate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/Certificate.cpp b/cpp/src/IceSSL/Certificate.cpp index 24c3df58ddc..511290cc6e7 100755 --- a/cpp/src/IceSSL/Certificate.cpp +++ b/cpp/src/IceSSL/Certificate.cpp @@ -41,8 +41,7 @@ CertificateReadException::ice_name() const Exception* CertificateReadException::ice_clone() const { - throw new CertificateReadException(*this); - return 0; // For compiler warnings. + return new CertificateReadException(*this); } void @@ -72,8 +71,7 @@ CertificateEncodingException::ice_name() const Exception* CertificateEncodingException::ice_clone() const { - throw new CertificateEncodingException(*this); - return 0; // For compiler warnings. + return new CertificateEncodingException(*this); } void |