CppTools: Modernize

Change-Id: I78af9cd4ccddfa4ed744dce96b772ae5644c89d2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Nikolai Kosjar
2019-02-07 10:09:21 +01:00
parent 69281bcdcf
commit 12f4b1ee86
15 changed files with 61 additions and 96 deletions

View File

@@ -248,10 +248,7 @@ private:
} // end of anonymous namespace
InsertionLocation::InsertionLocation()
: m_line(0)
, m_column(0)
{}
InsertionLocation::InsertionLocation() = default;
InsertionLocation::InsertionLocation(const QString &fileName,
const QString &prefix,
@@ -316,11 +313,9 @@ class HighestValue
{
Key _key;
Value _value;
bool _set;
bool _set = false;
public:
HighestValue()
: _key(), _set(false)
{}
HighestValue() = default;
HighestValue(const Key &initialKey, const Value &initialValue)
: _key(initialKey)