Use default SectionDescriptor constructor.
Makes it easier to write tests.
Tested: Unit tests
Google-Bug-Id: 322561358
Change-Id: I2bd16915cb61b29c24519d313400ce8f82a90b95
Signed-off-by: Aryk Ledet <arykledet@google.com>
diff --git a/include/cper.hpp b/include/cper.hpp
index 0ac94d7..8f0bbd9 100644
--- a/include/cper.hpp
+++ b/include/cper.hpp
@@ -230,8 +230,7 @@
uint32_t sectionSeverity;
std::array<uint8_t, 20> fruText;
- SectionDescriptor()
- {}
+ SectionDescriptor() = default;
SectionDescriptor(const uint32_t sectionOffsetIn,
const uint32_t sectionLengthIn, const uint16_t revisionIn,