]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/include/seastar/core/shared_ptr.hh
import 15.2.0 Octopus source
[ceph.git] / ceph / src / seastar / include / seastar / core / shared_ptr.hh
index 0114198a9bb586f8fbcee9fe2ceed813c00eb1c9..3ed3b0cef7a26d8a5db4bb5dd7e8844ca2f17a9e 100644 (file)
@@ -148,9 +148,9 @@ public:
     template <typename X>
     friend class lw_shared_ptr;
     template <typename X>
-    friend class internal::lw_shared_ptr_accessors_esft;
+    friend struct internal::lw_shared_ptr_accessors_esft;
     template <typename X, class Y>
-    friend class internal::lw_shared_ptr_accessors;
+    friend struct internal::lw_shared_ptr_accessors;
 };
 
 template <typename T>
@@ -166,9 +166,9 @@ struct shared_ptr_no_esft : private lw_shared_ptr_counter_base {
     template <typename X>
     friend class lw_shared_ptr;
     template <typename X>
-    friend class internal::lw_shared_ptr_accessors_no_esft;
+    friend struct internal::lw_shared_ptr_accessors_no_esft;
     template <typename X, class Y>
-    friend class internal::lw_shared_ptr_accessors;
+    friend struct internal::lw_shared_ptr_accessors;
 };