mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Add CompositeKey::isEmpty().
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -29,6 +29,7 @@ public:
|
||||
CompositeKey(const CompositeKey& key);
|
||||
~CompositeKey();
|
||||
void clear();
|
||||
bool isEmpty() const;
|
||||
CompositeKey* clone() const;
|
||||
CompositeKey& operator=(const CompositeKey& key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user