summaryrefslogtreecommitdiff
path: root/src/pendingupdates.cc
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 23:30:49 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit40ee1fcfb77731f3cd7385882f41630af6aedb33 (patch)
tree6b13dd75ca9cfbac7daef4f0d5dc2e342ee9ef7d /src/pendingupdates.cc
parent1978c49bea5b439d993067c055cec47e70db8fd6 (diff)
reduce line limit to 95
Diffstat (limited to 'src/pendingupdates.cc')
-rw-r--r--src/pendingupdates.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pendingupdates.cc b/src/pendingupdates.cc
index bf4e0f2..402a75b 100644
--- a/src/pendingupdates.cc
+++ b/src/pendingupdates.cc
@@ -80,7 +80,8 @@ bool PendingUpdates::newRecent(void) const
PendingUpdates::expunged_const_iterator::expunged_const_iterator(void) {}
-PendingUpdates::expunged_const_iterator::expunged_const_iterator(vector<unsigned int>::iterator i)
+PendingUpdates::expunged_const_iterator::expunged_const_iterator(
+ vector<unsigned int>::iterator i)
: internal(i)
{}
@@ -221,8 +222,8 @@ bool Binc::pendingUpdates(Mailbox *mailbox,
}
vector<string> customFlags = i.getCustomFlags();
- for (vector<string>::const_iterator it = customFlags.begin(); it != customFlags.end(); ++it) {
- if (flagv.size() > 0 || it != customFlags.begin()) bincClient << " ";
+ for (auto it = customFlags.cbegin(); it != customFlags.cend(); ++it) {
+ if (flagv.size() > 0 || it != customFlags.cbegin()) bincClient << " ";
bincClient << *it;
}