From f3cc908e42c912bb7ed0663763059a3820386776 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 7 Mar 2007 16:00:21 -0500 Subject: [PATCH] STYLE: Move warning disable pragma into push/pop block. --- Source/kwsys/hashtable.hxx.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index 5e395fcaf..76043534d 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/Source/kwsys/hashtable.hxx.in @@ -39,11 +39,6 @@ #ifndef @KWSYS_NAMESPACE@_hashtable_hxx #define @KWSYS_NAMESPACE@_hashtable_hxx -/* turn off no assignment warning */ -#if defined(_MSC_VER) -# pragma warning ( disable : 4512 ) /* no assignment operator for class */ -#endif - #include <@KWSYS_NAMESPACE@/Configure.hxx> #include <@KWSYS_NAMESPACE@/cstddef> // size_t @@ -58,6 +53,7 @@ # pragma warning (push) # pragma warning (disable:4284) # pragma warning (disable:4786) +# pragma warning (disable:4512) /* no assignment operator for class */ #endif #if @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_TEMPLATE