summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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