forked from qt-creator/qt-creator
Fix warnings about missing overrides
Change-Id: I655a0678ae55cf47c6014c52e0f62f7a85cf2dc7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -179,7 +179,7 @@ class PROJECTEXPLORER_EXPORT Runnable
|
||||
return m_data == that->m_data;
|
||||
}
|
||||
|
||||
void *typeId() const { return T::staticTypeId; }
|
||||
void *typeId() const override { return T::staticTypeId; }
|
||||
|
||||
T m_data;
|
||||
};
|
||||
@@ -220,7 +220,7 @@ class PROJECTEXPLORER_EXPORT Connection
|
||||
{
|
||||
Model(const T &data) : m_data(data) { }
|
||||
Concept *clone() const override { return new Model(*this); }
|
||||
void *typeId() const { return T::staticTypeId; }
|
||||
void *typeId() const override { return T::staticTypeId; }
|
||||
T m_data;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user