]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/RefCountedObject: no cond-related types
authorSage Weil <sage@redhat.com>
Fri, 26 Oct 2018 14:57:39 +0000 (09:57 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 21 Nov 2018 03:56:33 +0000 (11:56 +0800)
These aren't needed for seastar, and they don't build anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/RefCountedObj.h

index 2fcb3700167400b498f454964d09050856a69c9b..7596936a7c502edd7cc10d8f0f3e55a4f49758dc 100644 (file)
@@ -75,6 +75,8 @@ public:
   }
 };
 
+#ifndef WITH_SEASTAR
+
 /**
  * RefCountedCond
  *
@@ -163,6 +165,8 @@ struct RefCountedWaitObject {
   }
 };
 
+#endif // WITH_SEASTAR
+
 static inline void intrusive_ptr_add_ref(const RefCountedObject *p) {
   p->get();
 }