Adding pragma warning(disable: 4522) for MSVC <= 2017. (#3142)

2 files changed