From ad28480e2efbe5f2ae573f22a28433147f48bf81 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Mar 2018 15:34:41 +0300 Subject: code cleaning --- plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp') 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; -- cgit v1.2.3