diff --git a/backends/twitter/Requests/DirectMessageRequest.h b/backends/twitter/Requests/DirectMessageRequest.h index 19357759b0206989dfc1e279670fdfb2c152fc7d..754c24c8fab36cbbfd505630058ee4f46c3da429 100644 --- a/backends/twitter/Requests/DirectMessageRequest.h +++ b/backends/twitter/Requests/DirectMessageRequest.h @@ -18,13 +18,13 @@ class DirectMessageRequest : public Thread std::string user; std::string username; std::string replyMsg; - boost::function< void (std::string&, std::string &, std::vector&, std::string&) > callBack; + boost::function< void (std::string&, std::string &, std::vector&, Error&) > callBack; std::vector messages; bool success; public: DirectMessageRequest(twitCurl *obj, const std::string &_user, const std::string & _username, const std::string &_data, - boost::function< void (std::string&, std::string &, std::vector&, std::string&) > cb) { + boost::function< void (std::string&, std::string &, std::vector&, Error&) > cb) { twitObj = obj->clone(); data = _data; user = _user;