forked from qt-creator/qt-creator
CppTools: Modernize
Change-Id: I78af9cd4ccddfa4ed744dce96b772ae5644c89d2 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user