]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/net/ProtocalV2: no need to define fmt::ptr() since seastar has done it 49744/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Mon, 30 Jan 2023 09:55:31 +0000 (17:55 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Thu, 2 Feb 2023 02:19:41 +0000 (10:19 +0800)
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/net/ProtocolV2.cc

index edcc7de594739b22ea52804e870a6308d6dc89b1..e987205c1a85eafd1a2ddda0a69264d121f5b3bc 100644 (file)
@@ -102,13 +102,6 @@ inline uint64_t generate_client_cookie() {
 
 } // namespace anonymous
 
-namespace fmt {
-
-template <typename T> auto ptr(const ::seastar::shared_ptr<T>& p) -> const void* {
-  return p.get();
-}
-
-}
 namespace crimson::net {
 
 #ifdef UNIT_TESTS_BUILT