diff options
author | JellyBrick <shlee1503@naver.com> | 2018-06-08 15:41:00 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-06-08 15:41:00 +0900 |
commit | 1aee6428aef1fe5179e149477bf48f73f32d3ada (patch) | |
tree | a808d19d984cf0eab4dbd51438b3c47c7fa48b67 /src | |
parent | b853b778c715d090dc321f3a977bf477947befcf (diff) |
Fix compilation error
Diffstat (limited to 'src')
-rw-r--r-- | src/Api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Api.cpp b/src/Api.cpp index 125d0f8..84fda2d 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -1055,10 +1055,10 @@ ptree Api::sendRequest(const string& method, const vector<HttpReqArg>& args) con if (result.get<bool>("ok", false)) { return result.get_child("result"); } else { - throw TgException(result.get("description", ""); + throw TgException(result.get("description", "")); } } catch (boost::property_tree::ptree_error& e) { - throw TgException("tgbot-cpp library can't parse json response. " + string(e.what()); + throw TgException("tgbot-cpp library can't parse json response. " + string(e.what())); } } |