mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Used MemoryBlock::isEmpty() in a few places
This commit is contained in:
parent
b2b1685ca6
commit
0fc1ede50f
12 changed files with 20 additions and 20 deletions
|
|
@ -229,7 +229,7 @@ void OnlineUnlockStatus::load()
|
|||
MemoryBlock mb;
|
||||
mb.fromBase64Encoding (getState());
|
||||
|
||||
if (mb.getSize() > 0)
|
||||
if (! mb.isEmpty())
|
||||
status = ValueTree::readFromGZIPData (mb.getData(), mb.getSize());
|
||||
else
|
||||
status = ValueTree (stateTagName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue