From 8cdd0f4551e6d3d22c4fc753fb20e82918a43090 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 22 Jun 2018 22:02:23 +0900 Subject: Resolved #42 --- include/tgbot/TgTypeParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h index 356b69e..5ac322a 100644 --- a/include/tgbot/TgTypeParser.h +++ b/include/tgbot/TgTypeParser.h @@ -413,7 +413,7 @@ public: } private: - inline void removeLastComma(std::string& input) const { + inline void removeLastComma(const std::string& input) const { input.erase(input.length() - 1); } -- cgit v1.2.3