aboutsummaryrefslogtreecommitdiffstats
path: root/include/clientprotocolmsg.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-01 22:09:16 +0100
committerGravatar Sadie Powell2022-10-01 22:15:23 +0100
commitee633a943cccb5032f66eff9c1e28d633f358127 (patch)
tree6873e5990f45302d9709728c7eb5e83ffac0339e /include/clientprotocolmsg.h
parentReplace *foo.rbegin() with foo.end(). (diff)
Replace foo.erase(foo.{size|end}()-1) with foo.pop_back().
Diffstat (limited to 'include/clientprotocolmsg.h')
-rw-r--r--include/clientprotocolmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clientprotocolmsg.h b/include/clientprotocolmsg.h
index 78ebf9bf4..e4ff17720 100644
--- a/include/clientprotocolmsg.h
+++ b/include/clientprotocolmsg.h
@@ -267,7 +267,7 @@ class ClientProtocol::Messages::Mode
{
// Mode sequence is getting too long
if ((ret.back() == '+') || (ret.back() == '-'))
- ret.erase(ret.size()-1);
+ ret.pop_back();
break;
}