aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 11:43:21 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 11:43:55 +0100
commitbf82aeea369cacfc93a0e6d6d9feb01f1f2afdb2 (patch)
treef38cd3f38465a0cf8b38c198b202e624fe939ae1 /lib/converters.h
parentc7907084282c7957d085acb329574ab6a7d593c8 (diff)
downloadlibquotient-bf82aeea369cacfc93a0e6d6d9feb01f1f2afdb2.tar.gz
libquotient-bf82aeea369cacfc93a0e6d6d9feb01f1f2afdb2.zip
Don't use 'static' on top-level/namespace scope
When internal linkage is necessary, anonymous namespaces fulfil the same purpose in a better way. See also: https://stackoverflow.com/questions/4422507/superiority-of-unnamed-namespace-over-static
Diffstat (limited to 'lib/converters.h')
-rw-r--r--lib/converters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h
index a6028f1b..8eea1cd3 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -355,7 +355,7 @@ namespace _impl {
};
} // namespace _impl
-static constexpr bool IfNotEmpty = false;
+constexpr bool IfNotEmpty = false;
/*! Add a key-value pair to QJsonObject or QUrlQuery
*