summaryrefslogtreecommitdiffstats
path: root/kit/Delta.hpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2023-03-04 15:53:45 -0500
committerAshod Nakashian <Ashod@users.noreply.github.com>2023-03-10 07:45:12 -0500
commit9c39ebad1ffd92481ae0ea45e8fc123ad1c10d54 (patch)
tree0381e6bbae0514cbf9609fe26ef654ab153422cf /kit/Delta.hpp
parentwsd: remove always-false conditionals (diff)
downloadonline-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.hpp2
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");