diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:24:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:24:58 +0000 |
commit | a7ecea148c70da66f744a0036f985bc97804d8b4 (patch) | |
tree | 007e11deee4595280f1941a178a4dfe9a79942f7 /protocols/Twitter/src/connection.cpp | |
parent | f0ea2e2a1708b66b4b2a7db825a0987306a5fc5d (diff) |
unified project for Twitter
git-svn-id: http://svn.miranda-ng.org/main/trunk@13181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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(), "");
|