Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2023-06-26 09:59:53 +08:00
parent a258a85bc5
commit 1e85c0579a

View File

@ -162,8 +162,6 @@ public:
virtual ~Watcher()
{
}
std::mutex cvMutex_;
std::condition_variable watcherCv_;
void OnEvent(std::shared_ptr<HiSysEventRecord> sysEvent) final
{
if (sysEvent == nullptr) {
@ -184,7 +182,8 @@ public:
{
IMSA_HILOGE("Watcher::OnServiceDied");
}
std::mutex cvMutex_;
std::condition_variable watcherCv_;
private:
std::string operateInfo_;
};