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 /examples/imapresource/imapresource.cpp | |
parent | 60965ca1431b2b3bed4f49e6bf1a9d5e5d86a3d9 (diff) | |
download | sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.tar.gz sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.zip |
Fixed new diagnostics errors
Diffstat (limited to 'examples/imapresource/imapresource.cpp')
-rw-r--r-- | examples/imapresource/imapresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 92f64bf..6f201ff 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -133,7 +133,7 @@ public: | |||
133 | }, | 133 | }, |
134 | [&folderList](const QByteArray &remoteId) -> bool { | 134 | [&folderList](const QByteArray &remoteId) -> bool { |
135 | // folderList.contains(remoteId) | 135 | // folderList.contains(remoteId) |
136 | for (const auto folderPath : folderList) { | 136 | for (const auto &folderPath : folderList) { |
137 | if (folderPath.path == remoteId) { | 137 | if (folderPath.path == remoteId) { |
138 | return true; | 138 | return true; |
139 | } | 139 | } |