summaryrefslogtreecommitdiffstats
path: root/src/dom/io/gzipstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/io/gzipstream.cpp')
-rw-r--r--src/dom/io/gzipstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom/io/gzipstream.cpp b/src/dom/io/gzipstream.cpp
index e1f9f9a60..2a2f8a5b5 100644
--- a/src/dom/io/gzipstream.cpp
+++ b/src/dom/io/gzipstream.cpp
@@ -188,7 +188,7 @@ void GzipOutputStream::close()
*/
void GzipOutputStream::flush()
{
- if (closed || buffer.size()<1)
+ if (closed || buffer.empty())
return;
std::vector<unsigned char> compBuf;