diff options
author | Brad King <brad.king@kitware.com> | 2007-03-07 21:00:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-07 21:00:21 (GMT) |
commit | f3cc908e42c912bb7ed0663763059a3820386776 (patch) | |
tree | 333ec236a9b837169cf086adfb16e7e2e9a87754 /Source/kwsys/hashtable.hxx.in | |
parent | 0e8515fa4c87883ecb45ede6315f11edce6d0f7b (diff) | |
download | CMake-f3cc908e42c912bb7ed0663763059a3820386776.zip CMake-f3cc908e42c912bb7ed0663763059a3820386776.tar.gz CMake-f3cc908e42c912bb7ed0663763059a3820386776.tar.bz2 |
STYLE: Move warning disable pragma into push/pop block.
Diffstat (limited to 'Source/kwsys/hashtable.hxx.in')
-rw-r--r-- | Source/kwsys/hashtable.hxx.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index 5e395fc..7604353 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 |