diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2023-03-04 15:53:45 -0500 |
---|---|---|
committer | Ashod Nakashian <Ashod@users.noreply.github.com> | 2023-03-10 07:45:12 -0500 |
commit | 9c39ebad1ffd92481ae0ea45e8fc123ad1c10d54 (patch) | |
tree | 0381e6bbae0514cbf9609fe26ef654ab153422cf /kit/Delta.hpp | |
parent | wsd: remove always-false conditionals (diff) | |
download | online-9c39ebad1ffd92481ae0ea45e8fc123ad1c10d54.tar.gz online-9c39ebad1ffd92481ae0ea45e8fc123ad1c10d54.zip |
wsd: string::empty() is clearer than size() == 0
Change-Id: If2e25d344b5718c35cb9ae7b7519010ee88f0f60
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Diffstat (limited to 'kit/Delta.hpp')
-rw-r--r-- | kit/Delta.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kit/Delta.hpp b/kit/Delta.hpp index 5ba781e0a0..0b587bbff4 100644 --- a/kit/Delta.hpp +++ b/kit/Delta.hpp @@ -404,7 +404,7 @@ class DeltaGenerator { } } LOG_TRC("Created delta of size " << output.size()); - if (output.size() == 0) + if (output.empty()) { // The tile content is identical to what the client already has, so skip it LOG_TRC("Identical / un-changed tile"); |