diff options
author | Alexander Zaitsev <zamazan4ik@tut.by> | 2020-03-17 05:21:09 +0300 |
---|---|---|
committer | Alexander Zaitsev <zamazan4ik@tut.by> | 2020-03-17 05:21:09 +0300 |
commit | a2ea1d3c9df1718cafaf0e51d19c73e0ced903e5 (patch) | |
tree | fb53961975917598e28c461de2c7463537d5767d /src/types | |
parent | 70ffa285512d2fa829b6c73aa24d6f4b3e314edd (diff) |
format: add missing headers
- add missing include headers in different part of tgbot-cpp library, remove unused includes
Tested:
- Local build
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/InlineQueryResult.cpp | 2 | ||||
-rw-r--r-- | src/types/InputFile.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/types/InlineQueryResult.cpp b/src/types/InlineQueryResult.cpp index 3d4ea6e..0993ec2 100644 --- a/src/types/InlineQueryResult.cpp +++ b/src/types/InlineQueryResult.cpp @@ -19,6 +19,8 @@ #include "tgbot/types/InlineQueryResultPhoto.h" #include "tgbot/types/InlineQueryResultVideo.h" +#include <string> + using namespace TgBot; const std::string InlineQueryResultCachedAudio::TYPE = "audio"; diff --git a/src/types/InputFile.cpp b/src/types/InputFile.cpp index 0ca1991..c74c73e 100644 --- a/src/types/InputFile.cpp +++ b/src/types/InputFile.cpp @@ -2,6 +2,9 @@ #include "tgbot/tools/StringTools.h" #include "tgbot/tools/FileTools.h" +#include <memory> +#include <string> + using namespace std; namespace TgBot { |