aboutsummaryrefslogtreecommitdiff
path: root/autotests/kentrymaptest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kentrymaptest.cpp')
-rw-r--r--autotests/kentrymaptest.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/autotests/kentrymaptest.cpp b/autotests/kentrymaptest.cpp
index 406e4e99..d571f761 100644
--- a/autotests/kentrymaptest.cpp
+++ b/autotests/kentrymaptest.cpp
@@ -8,11 +8,13 @@
#include <QTest>
-const QByteArray group1("A Group");
-const QByteArray key1("A Key");
-const QByteArray key2("Another Key");
-const QByteArray value1("A value");
-const QByteArray value2("A different value");
+// clazy:excludeall=non-pod-global-static
+
+static const QByteArray group1{"A Group"};
+static const QByteArray key1{"A Key"};
+static const QByteArray key2{"Another Key"};
+static const QByteArray value1{"A value"};
+static const QByteArray value2{"A different value"};
QTEST_MAIN(KEntryMapTest)