From 6cf002a50ecbc01b9fd4396e68cb5a5b3ec39a09 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 26 Oct 2018 09:57:39 -0500 Subject: [PATCH] common/RefCountedObject: no cond-related types These aren't needed for seastar, and they don't build anyway. Signed-off-by: Sage Weil --- src/common/RefCountedObj.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/RefCountedObj.h b/src/common/RefCountedObj.h index 2fcb3700167..7596936a7c5 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(); } -- 2.39.5