summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjectIDList.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ObjectIDList.h')
-rw-r--r--TAO/tao/ObjectIDList.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/ObjectIDList.h b/TAO/tao/ObjectIDList.h
index 010df446d42..07836fee86b 100644
--- a/TAO/tao/ObjectIDList.h
+++ b/TAO/tao/ObjectIDList.h
@@ -26,6 +26,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -136,7 +137,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, CORBA_ORB_ObjectIdList &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */