summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Direct.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-08-11 15:15:53 -0400
committerBernard Normier <bernard@zeroc.com>2012-08-11 15:15:53 -0400
commitbaf36f2a83903362608aa244d8f1c3c4d0e35773 (patch)
tree603b13da3589b8167bd460d9ea464a54a73b1a0d /cpp/src/Ice/Direct.cpp
parentimplementing preserved slices in C# (diff)
downloadice-baf36f2a83903362608aa244d8f1c3c4d0e35773.tar.bz2
ice-baf36f2a83903362608aa244d8f1c3c4d0e35773.tar.xz
ice-baf36f2a83903362608aa244d8f1c3c4d0e35773.zip
Fixed bug #ICE-4845 (ice_clone for IceUtil::Exception is now covariant)
Small build fixes (VS warning, Python 3.x run.py) slice2cpp no longer generates ice_clone for interfaces
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r--cpp/src/Ice/Direct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp
index 64f61790abe..9c4d906d9ec 100644
--- a/cpp/src/Ice/Direct.cpp
+++ b/cpp/src/Ice/Direct.cpp
@@ -107,7 +107,7 @@ IceInternal::Direct::throwUserException()
void
IceInternal::Direct::setUserException(const Ice::UserException& ue)
{
- _userException.reset(dynamic_cast<Ice::UserException*>(ue.ice_clone()));
+ _userException.reset(ue.ice_clone());
}
void