diff options
Diffstat (limited to 'TAO/tao/TypeCode.h')
-rw-r--r-- | TAO/tao/TypeCode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/TypeCode.h b/TAO/tao/TypeCode.h index c4337afa9f8..69108479539 100644 --- a/TAO/tao/TypeCode.h +++ b/TAO/tao/TypeCode.h @@ -476,6 +476,13 @@ namespace CORBA /// Constructor. TypeCode (void); + /// Destructor. + /** + * Protected destructor to enforce proper memory management + * through the reference counting mechanism. + */ + virtual ~TypeCode (void); + /** * @name @c TypeCode Template Methods * |