diff options
author | Kefu Chai <kchai@redhat.com> | 2018-06-19 08:30:57 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-06-26 11:52:04 +0200 |
commit | da5d156b6bdffdd31e4edbadc1cdfc69197bef49 (patch) | |
tree | ff30d2366d670e0344554be12e0d6787170a158e /src/osd/PGBackend.h | |
parent | Merge PR #22479 into master (diff) | |
download | ceph-da5d156b6bdffdd31e4edbadc1cdfc69197bef49.tar.xz ceph-da5d156b6bdffdd31e4edbadc1cdfc69197bef49.zip |
include/memory.h: remove memory.h
memory.h was introduced back when the shared_ptrs were still in TR1, but
we've moved to C++17 now. and the C++ clients should be compiled with
a C++11 compatible compiler. so there is no need to have this file anymore.
also replace all references of ceph::shared_ptr and ceph::weak_ptr with
std::shared_ptr and std::weak_ptr accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/osd/PGBackend.h')
-rw-r--r-- | src/osd/PGBackend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index 51c35a81180..370694a7421 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -35,7 +35,7 @@ struct inconsistent_obj_wrapper; //forward declaration class OSDMap; class PGLog; -typedef ceph::shared_ptr<const OSDMap> OSDMapRef; +typedef std::shared_ptr<const OSDMap> OSDMapRef; /** * PGBackend |