diff options
| author | 2022-10-01 22:09:16 +0100 | |
|---|---|---|
| committer | 2022-10-01 22:15:23 +0100 | |
| commit | ee633a943cccb5032f66eff9c1e28d633f358127 (patch) | |
| tree | 6873e5990f45302d9709728c7eb5e83ffac0339e /include/clientprotocolmsg.h | |
| parent | Replace *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.h | 2 |
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; } |
