diff options
author | Tom Tromey <tromey@adacore.com> | 2019-04-18 09:42:46 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-04-18 10:37:29 -0600 |
commit | dc34c8972ec803b093201c4c12e084f059be32f7 (patch) | |
tree | 45978cbe2bbdfd35fffe00f2d6367a6a6e8fd6de /gdb | |
parent | 85bec12d61ca50669cac5975c88d3a1e377375f9 (diff) | |
download | gdb-dc34c8972ec803b093201c4c12e084f059be32f7.zip gdb-dc34c8972ec803b093201c4c12e084f059be32f7.tar.gz gdb-dc34c8972ec803b093201c4c12e084f059be32f7.tar.bz2 |
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 <tromey@adacore.com>
* process-stratum-target.h (class process_stratum_target)
<stratum>: Add "final".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/process-stratum-target.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef77fdb..5dd740c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-04-18 Tom Tromey <tromey@adacore.com> + + * process-stratum-target.h (class process_stratum_target) + <stratum>: Add "final". + 2019-04-17 Tom Tromey <tromey@adacore.com> * dwarf2read.c (dwarf2_init_complex_target_type): Check "tt" diff --git a/gdb/process-stratum-target.h b/gdb/process-stratum-target.h index fd30865..2e620f8 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. */ |