about summary refs log tree commit diff stats
path: root/src/stream.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-11-29 16:18:25 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-11-29 16:18:25 -0500
commit7c44fd17bb6be54a2ea4b60761e91053ca988977 (patch)
tree42f08e0db610617fd0629b117610bfa1a365acaf /src/stream.h
parentd90a1e74c77ba67f25a812609fd49d479bc464dd (diff)
downloadlibtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.tar.gz
libtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.tar.bz2
libtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.zip
Made tweets, users, and notifications into copyable objects
Notifications are now also mutable. Users and tweets no longer have helper methods for interacting with the client. Fixed a bug (possibly introduced by a change to the Twitter API) that caused non-reply tweets to be marked as unknown notifications.
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h index 3391912..b682ce2 100644 --- a/src/stream.h +++ b/src/stream.h
@@ -16,7 +16,7 @@ namespace twitter {
16 class stream { 16 class stream {
17 public: 17 public:
18 18
19 typedef std::function<void(const notification& _notification)> notify_callback; 19 typedef std::function<void(notification _notification)> notify_callback;
20 20
21 stream( 21 stream(
22 const client& tclient, 22 const client& tclient,