From 45cefdcd7321249a8750c0e8195a60087f4f2e01 Mon Sep 17 00:00:00 2001 From: Kirill Kirilenko Date: Mon, 26 Sep 2016 14:26:14 +0300 Subject: [PATCH] BotApi::Impl member functions inlined. --- src/BotApi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BotApi.cpp b/src/BotApi.cpp index c4608e1..4955539 100644 --- a/src/BotApi.cpp +++ b/src/BotApi.cpp @@ -21,7 +21,7 @@ public: /// \todo run getMe command to check token } - void sendMessage(const std::string& chat, const std::string& text) + inline void sendMessage(const std::string& chat, const std::string& text) { // Construct JSON body and istream using namespace rapidjson; @@ -63,7 +63,7 @@ public: request.perform(); } - void sendPhoto(const std::string& chat, const std::istream& file, const std::string& caption) + inline void sendPhoto(const std::string& chat, const std::istream& file, const std::string& caption) { // Construct HTTP request curlpp::Easy request;