Fix macOS build, missing override
authorPedro Alves <palves@redhat.com>
Thu, 24 May 2018 12:07:53 +0000 (13:07 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 24 May 2018 12:21:55 +0000 (13:21 +0100)
commitda05d921f0b7b9f9f07ac4e78ee228e7ecf847e0
tree7fcdb917cf0013e39b83e4bd04a9909a0ef38f11
parent08163f025e414bd3cebe0adac83ed4a7ce13625e
Fix macOS build, missing override

Fixes:

In file included from ../../src/gdb/darwin-nat.c:63:0:
../../src/gdb/darwin-nat.h:28:8: error: 'virtual void darwin_nat_target::create_inferior(const char*, const string&, char**, int)' can be marked override [-Werror=suggest-override]
   void create_inferior (const char *exec_file,
        ^

gdb/ChangeLog:
2018-05-24  Pedro Alves  <palves@redhat.com>

* darwin-nat.h (darwin_nat_target::create_inferior): Mark with
override.
gdb/ChangeLog
gdb/darwin-nat.h