From 64174491dac84c559db5c48ed850177fa3eb4da0 Mon Sep 17 00:00:00 2001 From: jellybrick Date: Sat, 14 Mar 2020 23:21:30 +0900 Subject: Fix #127, #128 & Code quality improvements It seems that the author of this code misunderstood 'Array of PollOption' as 'PollOption'. --- src/TgException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TgException.cpp') diff --git a/src/TgException.cpp b/src/TgException.cpp index 6ccd3d9..03a942c 100644 --- a/src/TgException.cpp +++ b/src/TgException.cpp @@ -2,7 +2,7 @@ namespace TgBot { -TgBot::TgException::TgException(const std::string description) : runtime_error(description) { +TgBot::TgException::TgException(const std::string& description) : runtime_error(description) { } } -- cgit v1.2.3