mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
[Analyzers][CPP]Turn on warning 26471 (#23103)
Don't use reinterpret_cast. A cast from void* can use static_cast
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
#include <windows.h>
|
||||
#include <dshow.h>
|
||||
|
||||
// disable warning 26471 - Don't use reinterpret_cast. A cast from void* can use static_cast
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 26471)
|
||||
#include <wil/com.h>
|
||||
#pragma warning(push)
|
||||
|
||||
#include <winrt/Windows.Foundation.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user