diff --git a/backends/twitter/Requests/DirectMessageRequest.h b/backends/twitter/Requests/DirectMessageRequest.h index 5eb1d7745f39d86e9fa89f0843ac3be95aa12986..6ae27f5c32f3279941fe25c3a4c64b2c3ab44b3c 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::vector&, std::string&) > callBack; + boost::function< void (std::string&, std::string &, std::vector&, std::string&) > 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::vector&, std::string&) > cb) { + boost::function< void (std::string&, std::string &, std::vector&, std::string&) > cb) { twitObj = obj->clone(); data = _data; user = _user;