Commit 1c91bcb2 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

MSVC: Use member initialization



Change-Id: I1d9e7f71f807857c8955a3876dcbf775cd69b693
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 00cb9ee9
......@@ -77,10 +77,10 @@ public:
protected:
class WarningFlagAdder
{
int m_warningCode;
int m_warningCode = 0;
WarningFlags &m_flags;
bool m_doesEnable;
bool m_triggered;
bool m_doesEnable = false;
bool m_triggered = false;
public:
WarningFlagAdder(const QString &flag, WarningFlags &flags);
void operator ()(int warningCode, WarningFlags flagsSet);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment