修改EventTracker命名错误

Signed-off-by: chenyunjiu <chenyunjiu1@huawei.com>
This commit is contained in:
cloud_nine 2024-04-18 19:33:47 +08:00
parent 2a5e00f09b
commit ea315c1736
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public:
recordMap_.clear();
}
void LogWarnninAllInfos() const
void LogWarningAllInfos() const
{
auto now = std::chrono::system_clock::now();
if (std::chrono::duration_cast<std::chrono::seconds>(now - lastOutputTime_).count() < OUTPUT_FREQ) {

View File

@ -441,7 +441,7 @@ sptr<ScreenSession> ScreenSessionManager::GetScreenSession(ScreenId screenId) co
{
std::lock_guard<std::recursive_mutex> lock(screenSessionMapMutex_);
if (screenSessionMap_.empty()) {
screenEventTracker_.LogWarnninAllInfos();
screenEventTracker_.LogWarningAllInfos();
}
auto iter = screenSessionMap_.find(screenId);
if (iter == screenSessionMap_.end()) {