]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librados: Disambiguate function call
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 6 Apr 2021 17:28:45 +0000 (13:28 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 7 Apr 2021 17:25:00 +0000 (13:25 -0400)
Cleaning up a warning.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/librados_test_stub/LibradosTestStub.cc

index c16cc436aa4a229f5fc6b76195e00be7d851768a..c567147e7a20ad634ff4daf9027ea1bd8d085f96 100644 (file)
@@ -1455,7 +1455,7 @@ int cls_cxx_list_watchers(cls_method_context_t hctx,
     watcher.name = entity_name_t::CLIENT(w.watcher_id);
     watcher.cookie = w.cookie;
     watcher.timeout_seconds = w.timeout_seconds;
-    watcher.addr.parse(w.addr, 0);
+    watcher.addr.parse(w.addr);
     watchers->entries.push_back(watcher);
   }