From 47cd9585c32e5b98ce8c31a28c75323880f2a4e6 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 27 Mar 2023 16:30:11 +0200 Subject: [PATCH] Explicit types for config.h --- src/mx/memory/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mx/memory/config.h b/src/mx/memory/config.h index 0be22ff..b85fa0d 100644 --- a/src/mx/memory/config.h +++ b/src/mx/memory/config.h @@ -8,16 +8,16 @@ public: /** * @return Number of maximal provided NUMA regions. */ - static constexpr auto max_numa_nodes() { return 2U; } + static constexpr std::uint8_t max_numa_nodes() { return 8U; } /** * @return Interval of each epoch, if memory reclamation is used. */ - static constexpr auto epoch_interval() { return std::chrono::milliseconds(50U); } + static constexpr std::chrono::milliseconds epoch_interval() { return std::chrono::milliseconds(50U); } /** * @return True, if garbage is removed local. */ - static constexpr auto local_garbage_collection() { return false; } + static constexpr bool local_garbage_collection() { return false; } }; } // namespace mx::memory \ No newline at end of file