mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-16 10:54:54 -04:00
Add CompositeKey::isEmpty().
This commit is contained in:
parent
78c125af4e
commit
b8b4d35763
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue