diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/enum-flags.h | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 33dd53b..f5419db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-04-25 Pedro Alves <palves@redhat.com> + + * common/enum-flags.h (enum_flags): Don't implement copy ctor and + assignment operator. + 2017-04-24 Yao Qi <yao.qi@linaro.org> * doublest.c (convert_doublest_to_floatformat): Call diff --git a/gdb/common/enum-flags.h b/gdb/common/enum-flags.h index e63c8a4..ddfcddf 100644 --- a/gdb/common/enum-flags.h +++ b/gdb/common/enum-flags.h @@ -120,16 +120,6 @@ public: : m_enum_value ((enum_type) 0) {} - enum_flags (const enum_flags &other) - : m_enum_value (other.m_enum_value) - {} - - enum_flags &operator= (const enum_flags &other) - { - m_enum_value = other.m_enum_value; - return *this; - } - /* If you get an error saying these two overloads are ambiguous, then you tried to mix values of different enum types. */ enum_flags (enum_type e) |