From 7150c0a4cb49637d12f466d059fcc0a306c5c072 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 21 Apr 2011 15:02:52 +0300 Subject: [PATCH] Replace updating lastActivityTime via property with pure assignement --- projects/stargazer/user_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index 3f00f371..d89bbe47 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -628,7 +628,7 @@ if (!authorizedBy.empty()) { if (connected) { - lastActivityTime = *const_cast(&stgTime); + property.Stat().lastActivityTime = stgTime; } if (!connected && IsInetable()) { -- 2.43.2