diff --git a/services/ptable_parse/ptable.h b/services/ptable_parse/ptable.h index ab4d284f8db15b1b5c25bd9d0f565b315a247e93..654e10d80179d4e2a53f89356d7e9687581d11d3 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);