[rtems-tools commit] rtemstoolkit: Fix gcc warning in rtems-elf

Chris Johns chrisj at rtems.org
Sat Oct 3 03:00:57 UTC 2020


Module:    rtems-tools
Branch:    4.11
Commit:    74768d25ac76aa1ecb47dc16e307c9bc968abc20
Changeset: http://git.rtems.org/rtems-tools/commit/?id=74768d25ac76aa1ecb47dc16e307c9bc968abc20

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sat Oct  3 09:34:37 2020 +1000

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
@@ -185,6 +185,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.
        *
        * These are following data types (from elf(3)):



More information about the vc mailing list