Skip to content
Snippets Groups Projects
Commit 9969933c authored by Brad King's avatar Brad King
Browse files

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

parent ef49afc7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment