This changes minimal_symbol_reader to use DISABLE_COPY_AND_ASSIGN,
rather than the manual approach it currently uses.
Tested by rebuilding.
gdb/ChangeLog
2018-12-27 Tom Tromey <tom@tromey.com>
* minsyms.h (class minimal_symbol_reader): Use
DISABLE_COPY_AND_ASSIGN.
+2018-12-27 Tom Tromey <tom@tromey.com>
+
+ * minsyms.h (class minimal_symbol_reader): Use
+ DISABLE_COPY_AND_ASSIGN.
+
2018-12-27 Tom Tromey <tom@tromey.com>
* python/python.c (python_interactive_command): Use std::string.
private:
- /* No need for these. They are intentionally not defined anywhere. */
- minimal_symbol_reader &operator=
- (const minimal_symbol_reader &);
- minimal_symbol_reader (const minimal_symbol_reader &);
+ DISABLE_COPY_AND_ASSIGN (minimal_symbol_reader);
struct objfile *m_objfile;