diff options
Diffstat (limited to 'protocols/Twitter/src/connection.cpp')
-rw-r--r-- | protocols/Twitter/src/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index 2db1d892b9..a92ea20cc6 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -571,7 +571,7 @@ void TwitterProto::UpdateStatuses(bool pre_read, bool popups, bool tweetToMsg) }
if (!updates.empty())
- since_id_ = std::max(since_id_, updates[0].status.id);
+ since_id_ = max(since_id_, updates[0].status.id);
for (twitter::status_list::reverse_iterator i = updates.rbegin(); i != updates.rend(); ++i) {
@@ -634,7 +634,7 @@ void TwitterProto::UpdateMessages(bool pre_read) }
if (messages.size())
- dm_since_id_ = std::max(dm_since_id_, messages[0].status.id);
+ dm_since_id_ = max(dm_since_id_, messages[0].status.id);
for (twitter::status_list::reverse_iterator i = messages.rbegin(); i != messages.rend(); ++i) {
MCONTACT hContact = AddToClientList(i->username.c_str(), "");
|