]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/: mark final class as final
authorKefu Chai <kchai@redhat.com>
Sat, 11 Jan 2020 14:30:49 +0000 (22:30 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 11 Jan 2020 15:16:35 +0000 (23:16 +0800)
commit81f915565669ab5a7e84159c1b4ceb53ef5ef0c6
tree8727d77087a95174c354918277856b0b77d8c452
parentac7a398f6a6bcb8a11b2f42cc4c5ce30d7122db3
src/: mark final class as final

to silence warnings from clang-10 like:

```
../src/os/bluestore/ceph_aio.h:120:18: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~aio_queue_t() final {
                 ^
../src/os/bluestore/ceph_aio.h:108:8: note: mark 'aio_queue_t' as 'final' to silence this warning
struct aio_queue_t : public io_queue_t {
       ^
1 warning generated.
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/ceph_aio.h
src/osd/scheduler/OpScheduler.h