From: Tom Tromey Date: Thu, 18 Apr 2019 15:42:46 +0000 (-0600) Subject: Make process_stratum_target::stratum "final" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc34c8972ec803b093201c4c12e084f059be32f7;p=binutils-gdb.git Make process_stratum_target::stratum "final" It seemed to me that process_stratum_target::stratum ought to be "final". Tested by rebuilding, let me know what you think. gdb/ChangeLog 2019-04-18 Tom Tromey * process-stratum-target.h (class process_stratum_target) : Add "final". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef77fdbb5ce..5dd740ca6a0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-04-18 Tom Tromey + + * process-stratum-target.h (class process_stratum_target) + : Add "final". + 2019-04-17 Tom Tromey * dwarf2read.c (dwarf2_init_complex_target_type): Check "tt" diff --git a/gdb/process-stratum-target.h b/gdb/process-stratum-target.h index fd308658fbb..2e620f82e8a 100644 --- a/gdb/process-stratum-target.h +++ b/gdb/process-stratum-target.h @@ -29,7 +29,7 @@ class process_stratum_target : public target_ops public: ~process_stratum_target () override = 0; - strata stratum () const override { return process_stratum; } + strata stratum () const final override { return process_stratum; } /* We must default these because they must be implemented by any target that can run. */