summaryrefslogtreecommitdiffstats
path: root/src/test/compressor/test_compression.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2018-10-16 16:32:22 +0200
committerKefu Chai <kchai@redhat.com>2018-11-21 04:56:32 +0100
commiteff769117e9210a4f1d8787587d3e83afe1e572c (patch)
treeb52167d440b3c045da1cdb98a19fb348efa094d7 /src/test/compressor/test_compression.cc
parentcommon/perf_counters: Mutex -> ceph::mutex (diff)
downloadceph-eff769117e9210a4f1d8787587d3e83afe1e572c.tar.xz
ceph-eff769117e9210a4f1d8787587d3e83afe1e572c.zip
common/PluginRegistry: Mutex -> ceph::mutex
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/test/compressor/test_compression.cc')
-rw-r--r--src/test/compressor/test_compression.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compressor/test_compression.cc b/src/test/compressor/test_compression.cc
index 48103ab996a..2961b2bdb6b 100644
--- a/src/test/compressor/test_compression.cc
+++ b/src/test/compressor/test_compression.cc
@@ -396,7 +396,7 @@ TEST(CompressionPlugin, all)
EXPECT_EQ(0, factory->factory(&compressor, &ss));
EXPECT_TRUE(compressor.get());
{
- Mutex::Locker l(reg->lock);
+ std::lock_guard l(reg->lock);
EXPECT_EQ(-ENOENT, reg->remove("compressor", "does not exist"));
EXPECT_EQ(0, reg->remove("compressor", "example"));
EXPECT_EQ(0, reg->load("compressor", "example"));