Commit 3a77e055 authored by Michael Reeves's avatar Michael Reeves

run modernize-use-default-member-init

parent a3cdc913
......@@ -81,6 +81,7 @@ set(
needed_features
cxx_nullptr
cxx_override
cxx_nonstatic_member_init
)
add_definitions(
......
......@@ -95,12 +95,12 @@ class DiffTextWindowData
class WrapLineCacheData
{
public:
WrapLineCacheData() : m_d3LineIdx(0), m_textStart(0), m_textLength(0) {}
WrapLineCacheData() {}
WrapLineCacheData(int d3LineIdx, int textStart, int textLength)
: m_d3LineIdx(d3LineIdx), m_textStart(textStart), m_textLength(textLength) {}
int m_d3LineIdx;
int m_textStart;
int m_textLength;
int m_d3LineIdx = 0;
int m_textStart = 0;
int m_textLength = 0;
};
QList<QVector<WrapLineCacheData>> m_wrapLineCacheList;
......
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