From 15bba602cc059ce14ab29f5fbbedbe3b880059bb Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 25 Feb 2021 21:50:20 +0100 Subject: [PATCH] common/mempool: include standard thread library Attempt to address FTBFS: /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/test_mempool.cc:399:11: error: request for member 'clear' in 'workers', which is of non-class type 'int' 399 | workers.clear(); | ^~~~~ seen in nautilus. Signed-off-by: Nathan Cutler --- src/test/test_mempool.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test_mempool.cc b/src/test/test_mempool.cc index b32b70609440f..3b575c952baf1 100644 --- a/src/test/test_mempool.cc +++ b/src/test/test_mempool.cc @@ -23,6 +23,8 @@ #include "include/btree_map.h" #include "include/mempool.h" +#include + void check_usage(mempool::pool_index_t ix) { mempool::pool_t *pool = &mempool::get_pool(ix); -- 2.47.3