summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJellyBrick <shlee1503@naver.com>2018-06-22 22:02:23 +0900
committerJellyBrick <shlee1503@naver.com>2018-06-22 22:02:23 +0900
commit8cdd0f4551e6d3d22c4fc753fb20e82918a43090 (patch)
treee58df6554d61f2eb09cf7beb30cc06cf50dbca57 /include
parentfea0c2ffb669923959df17ba904448e159d22489 (diff)
Resolved #42
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/TgTypeParser.h2
1 files changed, 1 insertions, 1 deletions
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);
}