From baf36f2a83903362608aa244d8f1c3c4d0e35773 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Sat, 11 Aug 2012 15:15:53 -0400 Subject: 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 --- cpp/src/Ice/OutgoingAsync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Ice/OutgoingAsync.cpp') diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index a5bfa8c4af8..e019e9e4949 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -55,7 +55,7 @@ public: AsynchronousException(const IceInternal::InstancePtr& instance, const Ice::AsyncResultPtr& result, const Ice::Exception& ex) : - DispatchWorkItem(instance), _result(result), _exception(dynamic_cast(ex.ice_clone())) + DispatchWorkItem(instance), _result(result), _exception(ex.ice_clone()) { } -- cgit v1.2.3