From e2731ee361d4ea91af014e62ae81d81c78c91a44 Mon Sep 17 00:00:00 2001 From: Artem Udovichenko Date: Thu, 29 May 2025 20:29:25 +0300 Subject: [PATCH] Fix structure initialization Change-Id: Icfd38afc1f80d1cd9d276e702ec3bee18b40fcdb Signed-off-by: Artem Udovichenko --- elfio/elfio_section.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elfio/elfio_section.hpp b/elfio/elfio_section.hpp index 87499bd..4a5ace3 100644 --- a/elfio/elfio_section.hpp +++ b/elfio/elfio_section.hpp @@ -223,7 +223,7 @@ template class section_impl : public section { pstream = &stream; is_lazy = is_lazy_; - header = { 0 }; + header = {}; if ( translator->empty() ) { stream.seekg( 0, std::istream::end ); -- Gitee