From 7a14ad143952d98ef896943d09bdb40e97e2cf87 Mon Sep 17 00:00:00 2001 From: zero-cyc Date: Mon, 4 Jul 2022 16:33:32 +0800 Subject: [PATCH] fix compile warning Signed-off-by: zero-cyc Change-Id: I2cd03f9051165e6a9512530da135f5deef4cf78b --- interfaces/inner_api/dumper.h | 1 + interfaces/inner_api/logger.h | 1 + 2 files changed, 2 insertions(+) diff --git a/interfaces/inner_api/dumper.h b/interfaces/inner_api/dumper.h index 5c2669f..5d12328 100644 --- a/interfaces/inner_api/dumper.h +++ b/interfaces/inner_api/dumper.h @@ -20,6 +20,7 @@ namespace OHOS { namespace AppExecFwk { class Dumper { public: + virtual ~Dumper() = default; /** * Processes the content of a specified string. * @param message the content of a specified string. diff --git a/interfaces/inner_api/logger.h b/interfaces/inner_api/logger.h index 72f3b82..fdeadc8 100644 --- a/interfaces/inner_api/logger.h +++ b/interfaces/inner_api/logger.h @@ -20,6 +20,7 @@ namespace OHOS { namespace AppExecFwk { class Logger { public: + virtual ~Logger() = default; /** * Processes the content of a specified string. * @param message the content of a specified string. -- Gitee