Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kieschnick <christian.kieschnick@hicknhack-software.com>2019-01-04 14:38:34 +0300
committerChristian Kieschnick <christian.kieschnick@hicknhack-software.com>2019-01-04 14:38:34 +0300
commit2bfe66e840d225ba295bf989defc574b269a7b10 (patch)
tree9ed1770ebfc114cf758c2ecfa170889696caba65 /tests/TestSharing.cpp
parent51d63f0e8377026210b9085d176d7dd5d2193381 (diff)
Another attempt to make GCC happy
Diffstat (limited to 'tests/TestSharing.cpp')
-rw-r--r--tests/TestSharing.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/TestSharing.cpp b/tests/TestSharing.cpp
index 78f37f15f..beff9f15e 100644
--- a/tests/TestSharing.cpp
+++ b/tests/TestSharing.cpp
@@ -108,32 +108,32 @@ void TestSharing::testNullObjects()
const QString empty;
QXmlStreamReader reader(empty);
- const auto nullKey = KeeShareSettings::Key{};
+ const auto nullKey = KeeShareSettings::Key();
QVERIFY(nullKey.isNull());
const auto xmlKey = KeeShareSettings::Key::deserialize(reader);
QVERIFY(xmlKey.isNull());
- const auto certificate = KeeShareSettings::Certificate{};
+ const auto certificate = KeeShareSettings::Certificate();
QVERIFY(certificate.isNull());
const auto xmlCertificate = KeeShareSettings::Certificate::deserialize(reader);
QVERIFY(xmlCertificate.isNull());
- const auto own = KeeShareSettings::Own{};
+ const auto own = KeeShareSettings::Own();
QVERIFY(own.isNull());
const auto xmlOwn = KeeShareSettings::Own::deserialize(empty);
QVERIFY(xmlOwn.isNull());
- const auto active = KeeShareSettings::Active{};
+ const auto active = KeeShareSettings::Active();
QVERIFY(active.isNull());
const auto xmlActive = KeeShareSettings::Active::deserialize(empty);
QVERIFY(xmlActive.isNull());
- const auto foreign = KeeShareSettings::Foreign{};
+ const auto foreign = KeeShareSettings::Foreign();
QVERIFY(foreign.certificates.isEmpty());
const auto xmlForeign = KeeShareSettings::Foreign::deserialize(empty);
QVERIFY(xmlForeign.certificates.isEmpty());
- const auto reference = KeeShareSettings::Reference{};
+ const auto reference = KeeShareSettings::Reference();
QVERIFY(reference.isNull());
const auto xmlReference = KeeShareSettings::Reference::deserialize(empty);
QVERIFY(xmlReference.isNull());