}
PG::PG(OSDService *o, OSDMapRef curmap,
- PGPool _pool, pg_t p, const hobject_t& loid, const hobject_t& ioid) :
+ const PGPool &_pool, pg_t p, const hobject_t& loid,
+ const hobject_t& ioid) :
osd(o), osdmap_ref(curmap), pool(_pool),
_lock("PG::_lock"),
ref(0), deleting(false), dirty_info(false), dirty_log(false),
public:
PG(OSDService *o, OSDMapRef curmap,
- PGPool pool, pg_t p, const hobject_t& loid, const hobject_t& ioid);
+ const PGPool &pool, pg_t p, const hobject_t& loid, const hobject_t& ioid);
virtual ~PG();
private: