From c6b896072323a955caa62d7b96b95d67d5e094d4 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 18 May 2005 23:37:19 +0000 Subject: ChangeLogTag:Wed May 18 16:23:01 2005 Ossama Othman --- TAO/tao/PortableServer/ORT_Adapter_Factory.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'TAO/tao/PortableServer/ORT_Adapter_Factory.h') diff --git a/TAO/tao/PortableServer/ORT_Adapter_Factory.h b/TAO/tao/PortableServer/ORT_Adapter_Factory.h index af233554bc7..9295cdbed41 100644 --- a/TAO/tao/PortableServer/ORT_Adapter_Factory.h +++ b/TAO/tao/PortableServer/ORT_Adapter_Factory.h @@ -45,6 +45,17 @@ namespace TAO : public ACE_Service_Object { public: + + /// Destructor. + /** + * @note Even though this class only defines an interface, a + * destructor is necessary to avoid dynamic_cast<> failures + * when using g++ 4.0's -fvisibility-inlines-hidden command + * line option. Apparently the compiler generated + * destructor is inlined. + */ + virtual ~ORT_Adapter_Factory (void); + /// Create a new adapter, in case not possible to allocate, returns 0 virtual TAO::ORT_Adapter * create () = 0; -- cgit v1.2.1