From: Xuehan Xu Date: Mon, 30 Jan 2023 09:55:31 +0000 (+0800) Subject: crimson/net/ProtocalV2: no need to define fmt::ptr() since seastar has done it X-Git-Tag: v18.1.0~401^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9f637283a91cc6e7b7b14558a2e7603a34b6bf3e;p=ceph.git crimson/net/ProtocalV2: no need to define fmt::ptr() since seastar has done it Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/net/ProtocolV2.cc b/src/crimson/net/ProtocolV2.cc index edcc7de59473..e987205c1a85 100644 --- a/src/crimson/net/ProtocolV2.cc +++ b/src/crimson/net/ProtocolV2.cc @@ -102,13 +102,6 @@ inline uint64_t generate_client_cookie() { } // namespace anonymous -namespace fmt { - -template auto ptr(const ::seastar::shared_ptr& p) -> const void* { - return p.get(); -} - -} namespace crimson::net { #ifdef UNIT_TESTS_BUILT