summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ORT_Adapter_Factory.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-05-18 23:37:19 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-05-18 23:37:19 +0000
commitc6b896072323a955caa62d7b96b95d67d5e094d4 (patch)
tree92f3b5aeb46fa5bc73b35e024d75fcba1e8545fb /TAO/tao/PortableServer/ORT_Adapter_Factory.h
parent517f9339d1c522dd3f5af61a1500c4d45e646578 (diff)
downloadATCD-c6b896072323a955caa62d7b96b95d67d5e094d4.tar.gz
ChangeLogTag:Wed May 18 16:23:01 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/PortableServer/ORT_Adapter_Factory.h')
-rw-r--r--TAO/tao/PortableServer/ORT_Adapter_Factory.h11
1 files changed, 11 insertions, 0 deletions
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;