forked from qt-creator/qt-creator
CppEditor: Add some member initializations
Change-Id: I920973b83f2c8a217845c8e2c64f7ba9ac52807e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -111,8 +111,8 @@ protected:
|
||||
}
|
||||
|
||||
private:
|
||||
const Class *_clazz;
|
||||
ClassSpecifierAST *_result;
|
||||
const Class * const _clazz;
|
||||
ClassSpecifierAST *_result = nullptr;
|
||||
};
|
||||
|
||||
void findMatch(const QList<AccessRange> &ranges,
|
||||
@@ -397,8 +397,8 @@ namespace {
|
||||
template <class Key, class Value>
|
||||
class HighestValue
|
||||
{
|
||||
Key _key;
|
||||
Value _value;
|
||||
Key _key{};
|
||||
Value _value{};
|
||||
bool _set = false;
|
||||
public:
|
||||
HighestValue() = default;
|
||||
|
Reference in New Issue
Block a user