mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-22 13:54:41 -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();
|
m_keys.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CompositeKey::isEmpty() const
|
||||||
|
{
|
||||||
|
return m_keys.isEmpty();
|
||||||
|
}
|
||||||
|
|
||||||
CompositeKey* CompositeKey::clone() const
|
CompositeKey* CompositeKey::clone() const
|
||||||
{
|
{
|
||||||
return new CompositeKey(*this);
|
return new CompositeKey(*this);
|
||||||
|
|
|
@ -29,6 +29,7 @@ public:
|
||||||
CompositeKey(const CompositeKey& key);
|
CompositeKey(const CompositeKey& key);
|
||||||
~CompositeKey();
|
~CompositeKey();
|
||||||
void clear();
|
void clear();
|
||||||
|
bool isEmpty() const;
|
||||||
CompositeKey* clone() const;
|
CompositeKey* clone() const;
|
||||||
CompositeKey& operator=(const CompositeKey& key);
|
CompositeKey& operator=(const CompositeKey& key);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue