From: Sage Weil Date: Fri, 26 Oct 2018 14:57:39 +0000 (-0500) Subject: common/RefCountedObject: no cond-related types X-Git-Tag: v14.1.0~820^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6cf002a50ecbc01b9fd4396e68cb5a5b3ec39a09;p=ceph.git common/RefCountedObject: no cond-related types These aren't needed for seastar, and they don't build anyway. Signed-off-by: Sage Weil --- diff --git a/src/common/RefCountedObj.h b/src/common/RefCountedObj.h index 2fcb37001674..7596936a7c50 100644 --- a/src/common/RefCountedObj.h +++ b/src/common/RefCountedObj.h @@ -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(); }