Add CompositeKey::isEmpty().

This commit is contained in:
Felix Geyer
2012-10-12 12:10:13 +02:00
parent 78c125af4e
commit b8b4d35763
2 changed files with 6 additions and 0 deletions

View File

@@ -44,6 +44,11 @@ void CompositeKey::clear()
m_keys.clear();
}
bool CompositeKey::isEmpty() const
{
return m_keys.isEmpty();
}
CompositeKey* CompositeKey::clone() const
{
return new CompositeKey(*this);