diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-04 15:34:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-04 15:34:41 +0300 |
commit | ad28480e2efbe5f2ae573f22a28433147f48bf81 (patch) | |
tree | e7069faa76995a096df42d3050939de2310cbb5e /plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp | |
parent | f02ba61c1480c33b801aa7f7acefac9e3735c551 (diff) |
code cleaning
Diffstat (limited to 'plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp')
-rw-r--r-- | plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp b/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp index 80f3d8be37..96213f8cc7 100644 --- a/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp +++ b/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp @@ -317,7 +317,7 @@ static VOID CALLBACK AutoAwayTimer(HWND, UINT, UINT_PTR, DWORD) } if (confirm || statusChanged) { - TProtoSettings ps = protoList; // make a copy of data not to pollute main array + TProtoSettings ps(protoList); // make a copy of data not to pollute main array for (auto &it : ps) it->m_status = it->aaaStatus; |