[Analyzers][CPP]Turn on warning 26466 (#22639)

* Turn on warning 26466

* changes from comments
This commit is contained in:
sosssego
2023-01-03 09:19:07 -03:00
committed by GitHub
parent 6287460614
commit b1c535a2ce
17 changed files with 76 additions and 5 deletions

View File

@@ -12,6 +12,11 @@
#include <winrt/base.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
// Suppressing 26466 - Don't use static_cast downcasts - in CppUnitTest.h
#pragma warning(push)
#pragma warning(disable : 26466)
#include "CppUnitTest.h"
#pragma warning(pop)
#endif //PCH_H