Add missing assignment operators
authorDodji Seketeli <dodji@redhat.com>
Wed, 27 Mar 2019 14:24:21 +0000 (15:24 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 27 Mar 2019 14:24:21 +0000 (15:24 +0100)
commitf85dd789c2d1f2a1b79182ac3c9c11c46dc97f2f
tree7112a863618604d31a55f73de2315512965946ea
parent5bb7194b0a21ac7633f539634f6f3eb7ea2a22e1
Add missing assignment operators

This was detected by compiling with GCC 9.0.1

* include/abg-interned-str.h (interned_string::operator=): Define
assignment operator.
* include/abg-ir.h
({location, enum_type_decl::enumerator}::operator=): Declare
assignment operator.
* src/abg-ir.cc (enum_type_decl::enumerator::operator=): Define
assignment operator.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-interned-str.h
include/abg-ir.h
src/abg-ir.cc