diff options
author | jellybrick <shlee1503@naver.com> | 2020-03-14 23:21:30 +0900 |
---|---|---|
committer | jellybrick <shlee1503@naver.com> | 2020-03-14 23:21:42 +0900 |
commit | 64174491dac84c559db5c48ed850177fa3eb4da0 (patch) | |
tree | 5f7a754d57c2a7ec439f309df5e4b8d964d0834f /src/types | |
parent | 19f49b7a2f540a756ed9759b0fa5fb52bf73f20e (diff) |
Fix #127, #128 & Code quality improvements
It seems that the author of this code misunderstood 'Array of PollOption' as 'PollOption'.
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/InputFile.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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 <fstream> - #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; } -}; +} |