To follow code-style guidelines.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
#include "include/ceph_assert.h"
struct RefCountedObject {
-private:
- mutable std::atomic<uint64_t> nref;
- CephContext *cct;
public:
RefCountedObject(CephContext *c = NULL, int n=1) : nref(n), cct(c) {}
virtual ~RefCountedObject() {
uint64_t get_nref() const {
return nref;
}
+
+private:
+ mutable std::atomic<uint64_t> nref;
+ CephContext *cct;
};
#ifndef WITH_SEASTAR