Locally disabled a trivial MSVC warning in value_init.hpp (C4512, "assignment operator could not be generated")

[SVN r62030]
This commit is contained in:
Niels Dekker 2010-05-16 11:08:00 +00:00
parent f29a5db08e
commit e601fcb9c9

View File

@ -35,6 +35,9 @@
// It is safe to ignore the following warning from MSVC 7.1 or higher:
// "warning C4351: new behavior: elements of array will be default initialized"
#pragma warning(disable: 4351)
// It is safe to ignore the following MSVC warning, which may pop up when T is
// a const type: "warning C4512: assignment operator could not be generated".
#pragma warning(disable: 4512)
#endif
#endif