mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Locally disabled a trivial MSVC warning in value_init.hpp (C4512, "assignment operator could not be generated")
[SVN r62030]
This commit is contained in:
parent
f29a5db08e
commit
e601fcb9c9
@ -35,6 +35,9 @@
|
|||||||
// It is safe to ignore the following warning from MSVC 7.1 or higher:
|
// 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"
|
// "warning C4351: new behavior: elements of array will be default initialized"
|
||||||
#pragma warning(disable: 4351)
|
#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
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user