diff options
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r-- | TAO/tao/Any.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp index 6614a3e669a..a755ffb1eba 100644 --- a/TAO/tao/Any.cpp +++ b/TAO/tao/Any.cpp @@ -1436,7 +1436,7 @@ CORBA_Any::operator>>= (const CORBA::Any *&a) const } else { - delete a; + delete ACE_const_cast (CORBA::Any *, a); a = 0; return 0; } |