From f071bd4fc3fb563ec88a4fc61a54d69e571006f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E4=BD=B3=E5=85=B4?= Date: Mon, 12 May 2025 20:18:18 +0800 Subject: [PATCH] =?UTF-8?q?rdb=E8=AE=A2=E9=98=85=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 常佳兴 Change-Id: Ib2d8ee5affa473597305de313e770a612071054f --- .../notification_rdb_data_mgr_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp index fe194ca70..6ed1cc8dc 100755 --- a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp +++ b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp @@ -289,12 +289,12 @@ class RdbStoreTest : public RdbStore { return E_ERROR; }; - virtual int Subscribe(const SubscribeOption& option, RdbStoreObserver *observer) + virtual int Subscribe(const SubscribeOption& option, std::shared_ptr observer) { return E_ERROR; }; - virtual int UnSubscribe(const SubscribeOption& option, RdbStoreObserver *observer) + virtual int UnSubscribe(const SubscribeOption& option, std::shared_ptr observer) { return E_ERROR; }; -- Gitee