QmlJS: Fix initialization order

This avoids some compiler warnings.

Change-Id: I81a626d22d39a2a45c2bf64403b0e28b76e50105
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Ulf Hermann
2017-08-14 10:17:45 +02:00
parent 74d14d0092
commit 6de5650241

View File

@@ -41,9 +41,9 @@ CodeFormatter::BlockData::BlockData()
}
CodeFormatter::CodeFormatter()
: m_indentDepth(0)
: m_tokenIndex(0)
, m_indentDepth(0)
, m_tabSize(4)
, m_tokenIndex(0)
{
}