diff options
Diffstat (limited to 'src/librados/RadosClient.h')
-rw-r--r-- | src/librados/RadosClient.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librados/RadosClient.h b/src/librados/RadosClient.h index 10d3baea13d..0db094b1800 100644 --- a/src/librados/RadosClient.h +++ b/src/librados/RadosClient.h @@ -50,8 +50,7 @@ public: using Dispatcher::cct; private: std::unique_ptr<CephContext, - std::function<void(CephContext*)> > cct_deleter{ - cct, [](CephContext *p) {p->put();}}; + std::function<void(CephContext*)>> cct_deleter; public: const ConfigProxy& conf{cct->_conf}; |