summaryrefslogtreecommitdiffstats
path: root/src/test/multi_stress_watch.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2014-11-13 22:53:23 +0100
committerSage Weil <sage@redhat.com>2014-12-04 19:33:12 +0100
commitd3ec70ee13245f3aa30939c61bd1d260883ced61 (patch)
treead1fe8210910368a9e89a2fd76f408e1bd7031e5 /src/test/multi_stress_watch.cc
parentlibrados: mark old object listing api deprecated (diff)
downloadceph-d3ec70ee13245f3aa30939c61bd1d260883ced61.tar.xz
ceph-d3ec70ee13245f3aa30939c61bd1d260883ced61.zip
librados: mark old watch calls deprecated
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/test/multi_stress_watch.cc')
-rw-r--r--src/test/multi_stress_watch.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/multi_stress_watch.cc b/src/test/multi_stress_watch.cc
index 6203d7b1298..aa02d6941db 100644
--- a/src/test/multi_stress_watch.cc
+++ b/src/test/multi_stress_watch.cc
@@ -29,6 +29,9 @@ public:
}
};
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
void
test_loop(Rados &cluster, std::string pool_name, std::string obj_name)
{
@@ -63,6 +66,8 @@ test_loop(Rados &cluster, std::string pool_name, std::string obj_name)
ioctx.close();
}
+#pragma GCC diagnostic pop
+
void
test_replicated(Rados &cluster, std::string pool_name, std::string obj_name)
{