From 30444b2a489a1944b12bd410d9acf2b667505f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Sun, 19 Dec 2021 19:57:58 +0100 Subject: [PATCH] [parallel] Remove deprecated support for handles with fixedsize() --- CHANGELOG.md | 3 +++ dune/common/parallel/variablesizecommunicator.hh | 9 --------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 221ca5a92..5a7c0ff1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,9 @@ replacement, as it must be sometimes placed at a different position in the code. +- In `callFixedSize`, support handles with `fixedsize()` (lower case s) + is removed. Implement `fixedSize()` (camelCase) instead. + - `CollectiveCommunication` and `getCollectiveCommunication` are deprecated and will be removed after Dune 2.9. Use `Communication` respectively `getCommunication` instead. diff --git a/dune/common/parallel/variablesizecommunicator.hh b/dune/common/parallel/variablesizecommunicator.hh index 10bf8e2e2..6ec634754 100644 --- a/dune/common/parallel/variablesizecommunicator.hh +++ b/dune/common/parallel/variablesizecommunicator.hh @@ -52,15 +52,6 @@ constexpr bool callFixedSize(H &&handle) { return handle.fixedSize(); } -template <typename H, - std::enable_if_t<not models<Concept::HasFixedSize, H>(), int> = 0> -[[deprecated("Using handles with fixedsize() (lower case s) is deprecated and " - "will be removed after release 2.8. Implement fixedSize() " - "(camelCase) instead!")]] -constexpr bool callFixedSize(H &&handle) { - return handle.fixedsize(); -} - } // namespace Impl namespace -- GitLab