Fix warnings about missing overrides

Change-Id: I655a0678ae55cf47c6014c52e0f62f7a85cf2dc7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Tobias Hunger
2016-06-23 14:59:46 +02:00
parent 78be4281c1
commit bd63402fb8

View File

@@ -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;
};