From 62be3b98cea031e3c93e81324ae6b13511dc8950 Mon Sep 17 00:00:00 2001 From: RangerUFO Date: Thu, 19 Sep 2024 13:57:24 +0800 Subject: [PATCH] Fix the warnings complained by Clang --- util/threading.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/threading.h b/util/threading.h index 9144e34..3fb6cf1 100644 --- a/util/threading.h +++ b/util/threading.h @@ -143,8 +143,8 @@ class PerClusterPools { PerClusterPools() = delete; PerClusterPools(const PerClusterPools&) = delete; PerClusterPools& operator=(const PerClusterPools&) = delete; - PerClusterPools(PerClusterPools&&) = default; - PerClusterPools& operator=(PerClusterPools&&) = default; + PerClusterPools(PerClusterPools&&) = delete; + PerClusterPools& operator=(PerClusterPools&&) = delete; // PerClusterPools supports spin waits (see StartSpinning below). To prevent // drastic slowdowns caused by excessive user-specified thread counts, which