summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/hashtable.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-07 21:00:21 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-07 21:00:21 (GMT)
commitf3cc908e42c912bb7ed0663763059a3820386776 (patch)
tree333ec236a9b837169cf086adfb16e7e2e9a87754 /Source/kwsys/hashtable.hxx.in
parent0e8515fa4c87883ecb45ede6315f11edce6d0f7b (diff)
downloadCMake-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.in6
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