diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 08:58:18 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 08:58:18 +0000 |
commit | 47f4d5c03a16988eab91de5e26218f8e0d35b8b8 (patch) | |
tree | ed8bb521a4301dfeea2e918f50830819db524762 /plugins/Boltun/src/Engine/PerContactData.h | |
parent | 68a6aa6db2eb165cfbebebc891a41be2f6917f44 (diff) |
Boltun common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/src/Engine/PerContactData.h')
-rw-r--r-- | plugins/Boltun/src/Engine/PerContactData.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Boltun/src/Engine/PerContactData.h b/plugins/Boltun/src/Engine/PerContactData.h index d130a03838..e81192053f 100644 --- a/plugins/Boltun/src/Engine/PerContactData.h +++ b/plugins/Boltun/src/Engine/PerContactData.h @@ -41,7 +41,7 @@ class PerContactData }
inline InternalData()
- :data(NULL)
+ : data(NULL)
{
assert(false);
}
@@ -133,12 +133,12 @@ void PerContactData<Source, Data, ContactHandle>::CleanupData() mapLock.Enter();
time_t now;
time(&now);
- for (mapIt it = datas.begin(); it != datas.end(); )
+ for (mapIt it = datas.begin(); it != datas.end();)
{
if ((*it).second->time) //it's being in use
{
int diff = (int)difftime(now, (*it).second->time);
- if (diff >= 30*60) //half of an hour
+ if (diff >= 30 * 60) //half of an hour
{
mapIt tmp = it;
it++;
@@ -160,7 +160,7 @@ void PerContactData<Source, Data, ContactHandle>::CleanupData() }
template <class Source, class Data, class ContactHandle>
-VOID CALLBACK RunTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
+VOID CALLBACK RunTimerProc(HWND, UINT, UINT_PTR idEvent, DWORD)
{
PerContactData<Source, Data, ContactHandle>* val = (PerContactData<Source, Data, ContactHandle>*)perContactDataObjects[idEvent];
val->CleanupData();
|