Just pull in the original function with a using.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
template <typename ImageCtxT = librbd::ImageCtx>
class InstanceWatcher : protected librbd::Watcher {
+ using librbd::Watcher::unregister_watch; // Silence overloaded virtual warning
public:
static void get_instances(librados::IoCtx &io_ctx,
std::vector<std::string> *instance_ids,
template <typename ImageCtxT = librbd::ImageCtx>
class LeaderWatcher : protected librbd::Watcher {
+ using librbd::Watcher::unregister_watch; // Silence overloaded virtual warning
public:
struct Listener {
virtual ~Listener() {