#include "OSD.h"
#include "PGBackend.h"
#include "osd_types.h"
+#include "../include/memory.h"
struct C_ReplicatedBackend_OnPullComplete;
class ReplicatedBackend : public PGBackend {
RepModify() : applied(false), committed(false), ackerosd(-1),
epoch_started(0), bytes_written(0) {}
};
- typedef std::tr1::shared_ptr<RepModify> RepModifyRef;
+ typedef ceph::shared_ptr<RepModify> RepModifyRef;
struct C_OSD_RepModifyApply : public Context {
ReplicatedBackend *pg;
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-#include <tr1/memory>
#include "include/interval_set.h"
#include "include/buffer.h"
#include "include/encoding.h"
public:
uint64_t pos;
ObjectDesc &obj;
- list<pair<list<pair<std::tr1::shared_ptr<ContentsGenerator>,
+ list<pair<list<pair<ceph::shared_ptr<ContentsGenerator>,
ContDesc> >::iterator,
uint64_t> > stack;
map<ContDesc,ContentsGenerator::iterator> cont_iters;
uint64_t limit;
- list<pair<std::tr1::shared_ptr<ContentsGenerator>,
+ list<pair<ceph::shared_ptr<ContentsGenerator>,
ContDesc> >::iterator cur_cont;
iterator(ObjectDesc &obj) :
uint64_t version;
private:
- list<pair<std::tr1::shared_ptr<ContentsGenerator>, ContDesc> > layers;
+ list<pair<ceph::shared_ptr<ContentsGenerator>, ContDesc> > layers;
};
#endif