From 2f83dfcbcb82a5bb34cb677229ba681cf4f48a10 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 6 Nov 2024 20:23:50 -0700 Subject: [PATCH] Mark a function as 'inline'. This avoids compiler warnings in release mode that the function is defined but not used. It is only used inside an assertion. --- source/base/mpi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 8717598dd7..4b5f710882 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -1182,7 +1182,7 @@ namespace Utilities - bool + inline bool FlexibleIndexStorage::entry_has_been_set(const std::size_t index) const { AssertIndexRange(index, size); -- 2.39.5