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/types/InputFile.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/types') diff --git a/src/types/InputFile.cpp b/src/types/InputFile.cpp index e0885f0..0ca1991 100644 --- a/src/types/InputFile.cpp +++ b/src/types/InputFile.cpp @@ -1,7 +1,4 @@ #include "tgbot/types/InputFile.h" - -#include - #include "tgbot/tools/StringTools.h" #include "tgbot/tools/FileTools.h" @@ -17,4 +14,4 @@ InputFile::Ptr InputFile::fromFile(const string& filePath, const string& mimeTyp return result; } -}; +} -- cgit v1.2.3