X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e5499c61083684b28bcbc6950aae66cbf0938703..e9ae1f101b5418c0ba2e6c9d86b23c12f0140982:/stargazer/plugins/other/smux/sensors.cpp diff --git a/stargazer/plugins/other/smux/sensors.cpp b/stargazer/plugins/other/smux/sensors.cpp index 21e48ddc..9a87cbda 100644 --- a/stargazer/plugins/other/smux/sensors.cpp +++ b/stargazer/plugins/other/smux/sensors.cpp @@ -11,7 +11,7 @@ bool UsersSensor::GetValue(ObjectSyntax_t * objectSyntax) const int handle = users.OpenSearch(); assert(handle && "USERS::OpenSearch is always correct"); -USER_PTR user; +STG::User* user; size_t count = 0; while (!users.SearchNext(handle, &user)) { @@ -31,7 +31,7 @@ std::string UsersSensor::ToString() const int handle = users.OpenSearch(); assert(handle && "USERS::OpenSearch is always correct"); -USER_PTR user; +STG::User* user; size_t count = 0; while (!users.SearchNext(handle, &user)) { @@ -45,7 +45,7 @@ return std::to_string(count); } #endif -bool ActiveUsersSensor::UserPredicate(USER_PTR userPtr) const +bool ActiveUsersSensor::UserPredicate(STG::User* userPtr) const { if (!userPtr->GetConnected()) return false;