1
0
Fork 0
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:
ed 2021-04-22 17:35:48 +01:00
parent b2b1685ca6
commit 0fc1ede50f
12 changed files with 20 additions and 20 deletions

View file

@ -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);