diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-29 16:18:25 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-29 16:18:25 -0500 |
commit | 7c44fd17bb6be54a2ea4b60761e91053ca988977 (patch) | |
tree | 42f08e0db610617fd0629b117610bfa1a365acaf /src/stream.cpp | |
parent | d90a1e74c77ba67f25a812609fd49d479bc464dd (diff) | |
download | libtwittercpp-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.cpp')
-rw-r--r-- | src/stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.cpp b/src/stream.cpp index d2b3afe..cb55ee8 100644 --- a/src/stream.cpp +++ b/src/stream.cpp | |||
@@ -256,7 +256,7 @@ namespace twitter { | |||
256 | _backoff_amount = std::chrono::milliseconds(0); | 256 | _backoff_amount = std::chrono::milliseconds(0); |
257 | } | 257 | } |
258 | 258 | ||
259 | _notify(n); | 259 | _notify(std::move(n)); |
260 | 260 | ||
261 | _buffer = ""; | 261 | _buffer = ""; |
262 | } | 262 | } |