diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/TgTypeParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h index 5ac322a..356b69e 100644 --- a/include/tgbot/TgTypeParser.h +++ b/include/tgbot/TgTypeParser.h @@ -413,7 +413,7 @@ public: } private: - inline void removeLastComma(const std::string& input) const { + inline void removeLastComma(std::string& input) const { input.erase(input.length() - 1); } |