From 74768d25ac76aa1ecb47dc16e307c9bc968abc20 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 3 Oct 2020 09:34:37 +1000 Subject: rtemstoolkit: Fix gcc warning in rtems-elf --- rtemstoolkit/rld-elf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtemstoolkit/rld-elf.h b/rtemstoolkit/rld-elf.h index fffe036..3b42f2c 100644 --- a/rtemstoolkit/rld-elf.h +++ b/rtemstoolkit/rld-elf.h @@ -184,6 +184,11 @@ namespace rld */ section (); + /** + * Default assignment operator. + */ + section& operator=(const rld::elf::section&) = default; + /** * Add a data segment descriptor to the section if the file is writable. * -- cgit v1.2.3