From 34b74cd1299fb91fd68e68aed4d7ab733a9181a1 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 15 Sep 2015 19:33:22 +0300 Subject: Fix compile error --- src/Api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Api.cpp b/src/Api.cpp index 4db54e9..7e05621 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -272,7 +272,7 @@ ptree Api::sendRequest(const string& method, const vector& args) con throw TgException(result.get("description", "")); } } catch (boost::property_tree::ptree_error& e) { - throw TgException("tgbot-cpp library can't parse json response. " + e.what()); + throw TgException("tgbot-cpp library can't parse json response. " + string(e.what())); } } -- cgit v1.2.3