summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h b/TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h
index 86283b826a4..8bd5d116d7f 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/RT_Factory.h
@@ -20,6 +20,14 @@
#include "orbsvcs/Notify/Default_Factory.h"
+// The using in the class below is apparently ignored by the
+// Borland compiler. Having the using below should take care
+// of the warning about hiding virtual functions.
+#if defined (__BORLANDC__)
+# pragma warning (push)
+# pragma warning (disable : 8022)
+#endif /* __BORLANDC__ */
+
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
@@ -49,6 +57,10 @@ public:
TAO_END_VERSIONED_NAMESPACE_DECL
+#if defined (__BORLANDC__)
+# pragma warning (pop)
+#endif /* __BORLANDC__ */
+
ACE_FACTORY_DECLARE (TAO_RT_Notify, TAO_Notify_RT_Factory)
#include /**/ "ace/post.h"