X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/af9452155f0892e1d2862efad4a87861ca60867d..4213664cbb7a96bee57fec935878348cebbc7d40:/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;