提交 83a234ac 编写于 作者: L limingkang

codefix

Signed-off-by: Nlimingkang <limingkang1@huawei.com>
Change-Id: If65259f2aa67ebf1598780b16585ca242d198b79
上级 2243f9df
......@@ -24,9 +24,7 @@ namespace OHOS {
{
bool result = false;
std::unique_ptr<WatcherManager> watcherManager = std::make_unique<WatcherManager>(0, true);
if (watcherManager == nullptr) {
return result;
}
std::string str(reinterpret_cast<const char*>(data), size);
if (!watcherManager->RefreshWatcher(str, *data)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册