]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/crimson: mark final class "final" 42700/head
authorKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 11:48:19 +0000 (19:48 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 11:48:20 +0000 (19:48 +0800)
commitcefe8c83afe852a53cdf51b4356aa426ece71b18
treef999127ce8c11b7ebe56eb5c3260343739486768
parente2ccfa6cb332ce0fa7e31002e91a7b079de8ef9c
test/crimson: mark final class "final"

silences warning from Clang like:

../src/test/crimson/seastore/test_object_data_handler.cc:33:16: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~TestOnode() final = default;
               ^
../src/test/crimson/seastore/test_object_data_handler.cc:20:7: note: mark 'TestOnode' as 'final' to silence this warning
class TestOnode : public Onode {
      ^
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/seastore/test_object_data_handler.cc