Silence Code Analysis warnings about unscoped enums
wxWidgets is using unscoped enums and should continue so for backward compatibility. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
fcfe641d5c
commit
13cd778359
@ -26,6 +26,7 @@ bool WXEXTEND_API wxXmlHashNode(wxCryptoHash &hash, const wxXmlNode *node)
|
||||
{
|
||||
wxASSERT_MSG(node, wxT("invalid parameter"));
|
||||
|
||||
#pragma warning(suppress: 26812) // wxXmlNodeType is unscoped.
|
||||
switch (node->GetType()) {
|
||||
case wxXML_ELEMENT_NODE:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user