From 9eb4146fd8ab5d121a85a7275d85d10b27243c58 Mon Sep 17 00:00:00 2001 From: ldy Date: Sat, 23 Aug 2025 06:21:16 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=8C=BA=E8=A1=A8GetDefaultImageSize?= =?UTF-8?q?=E6=94=AF=E6=8C=81mock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ldy --- services/ptable_parse/ptable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ptable_parse/ptable.h b/services/ptable_parse/ptable.h index ab4d284f..654e10d8 100644 --- a/services/ptable_parse/ptable.h +++ b/services/ptable_parse/ptable.h @@ -75,7 +75,7 @@ public: uint32_t GetPtablePartitionNum() const; void SetReservedSize(uint64_t reservedSize); bool InitPtable(); - uint32_t GetDefaultImageSize() const; + virtual uint32_t GetDefaultImageSize() const; void PrintPtableInfo() const; void PrintPtableInfo(const std::vector &ptnInfo) const; bool GetPartionInfoByName(const std::string &partitionName, PtnInfo &ptnInfo, int32_t &index); -- Gitee