STYLE: Move warning disable pragma into push/pop block.

This commit is contained in:
Brad King 2007-03-07 16:00:21 -05:00
parent 0e8515fa4c
commit f3cc908e42
1 changed files with 1 additions and 5 deletions

View File

@ -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