PEL: Rename Section::flattenedSize
cppcheck was complaining about how flattenedSize() was in both the base
class Section and all of its derived classes even though it wasn't
virtual.
Change-Id: I5cce8c6534e696f30c2c6141a50665d11a13eff0
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/extensions/openpower-pels/private_header.hpp b/extensions/openpower-pels/private_header.hpp
index dbdaca6..6ba505f 100644
--- a/extensions/openpower-pels/private_header.hpp
+++ b/extensions/openpower-pels/private_header.hpp
@@ -212,7 +212,7 @@
*/
static constexpr size_t flattenedSize()
{
- return Section::flattenedSize() + sizeof(_createTimestamp) +
+ return Section::headerSize() + sizeof(_createTimestamp) +
sizeof(_commitTimestamp) + sizeof(_creatorID) +
sizeof(_logType) + sizeof(_reservedByte) +
sizeof(_sectionCount) + sizeof(_obmcLogID) +