Make process_stratum_target::stratum "final"
authorTom Tromey <tromey@adacore.com>
Thu, 18 Apr 2019 15:42:46 +0000 (09:42 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 18 Apr 2019 16:37:29 +0000 (10:37 -0600)
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".

gdb/ChangeLog
gdb/process-stratum-target.h

index ef77fdbb5ceb43a32497d204cf5c9d00da018422..5dd740ca6a0b20fcf51a4ec936f8d7b2d49bf184 100644 (file)
@@ -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"
index fd308658fbbb1799c6f256adafa57b073bd54575..2e620f82e8a31734cc0ed2985d8f242235158499 100644 (file)
@@ -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.  */
This page took 0.029815 seconds and 4 git commands to generate.