diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
commit | a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d (patch) | |
tree | d2d8737bb7758fbf521909a367e9188b9c5690f6 /tests/mailtest.cpp | |
parent | 60965ca1431b2b3bed4f49e6bf1a9d5e5d86a3d9 (diff) | |
download | sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.tar.gz sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.zip |
Fixed new diagnostics errors
Diffstat (limited to 'tests/mailtest.cpp')
-rw-r--r-- | tests/mailtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp index 2547536..908fb84 100644 --- a/tests/mailtest.cpp +++ b/tests/mailtest.cpp | |||
@@ -354,7 +354,7 @@ void MailTest::testCreateDraft() | |||
354 | { | 354 | { |
355 | auto mails = Store::read<ApplicationDomain::Mail>(Query().filter<Mail::Folder>(folderIdentifier)); | 355 | auto mails = Store::read<ApplicationDomain::Mail>(Query().filter<Mail::Folder>(folderIdentifier)); |
356 | bool found = false; | 356 | bool found = false; |
357 | for (const auto m : mails) { | 357 | for (const auto &m : mails) { |
358 | if (m.identifier() == mail.identifier()) { | 358 | if (m.identifier() == mail.identifier()) { |
359 | found = true; | 359 | found = true; |
360 | } | 360 | } |