]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/ImageCtx: no need for virtual dtor 12220/head
authorSage Weil <sage@redhat.com>
Tue, 29 Nov 2016 03:47:53 +0000 (22:47 -0500)
committerSage Weil <sage@redhat.com>
Tue, 29 Nov 2016 03:47:53 +0000 (22:47 -0500)
commitd368069ebbafc224b8c7aa21de3e922e7582280a
tree4d490434187ddd147f0d713876a2b3348d4b7a45
parent7d0f977607e4bdcb30428449d303f8c33f78a1c1
librbd/ImageCtx: no need for virtual dtor

CID 1396232 (#1 of 1): Non-virtual destructor (VIRTUAL_DTOR)
1. nonvirtual_dtor: Class librbd::<unnamed>::SafeTimerSingleton has a destructor and a pointer to it is upcast to class SafeTimer which doesn't have a virtual destructor.

The SafeTimerSingleton is not polymorphic; no need for
a virtual dtor.

Signed-off-by: Sage Weil <sage@redhat.com>
src/librbd/ImageCtx.cc