From: David Wells Date: Sat, 9 May 2020 19:27:49 +0000 (-0400) Subject: cppcheck: make virtual function calls in ctors explicit. X-Git-Tag: v9.2.0-rc1~60^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2a6859df40b8fd37b7ca909930bc8795ffc6d1;p=dealii.git cppcheck: make virtual function calls in ctors explicit. --- diff --git a/include/deal.II/base/aligned_vector.h b/include/deal.II/base/aligned_vector.h index 08d271b6fd..e83e1a7f95 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -477,7 +477,7 @@ namespace internal ExcInternalError()); const std::size_t size = source_end - source_begin; if (size < minimum_parallel_grain_size) - apply_to_subrange(0, size); + AlignedVectorMove::apply_to_subrange(0, size); else apply_parallel(0, size, minimum_parallel_grain_size); } @@ -566,7 +566,7 @@ namespace internal trivial_element = true; } if (size < minimum_parallel_grain_size) - apply_to_subrange(0, size); + AlignedVectorSet::apply_to_subrange(0, size); else apply_parallel(0, size, minimum_parallel_grain_size); } @@ -649,7 +649,7 @@ namespace internal Assert(destination != nullptr, ExcInternalError()); if (size < minimum_parallel_grain_size) - apply_to_subrange(0, size); + AlignedVectorDefaultInitialize::apply_to_subrange(0, size); else apply_parallel(0, size, minimum_parallel_grain_size); } diff --git a/include/deal.II/lac/precondition.h b/include/deal.II/lac/precondition.h index b681f6e7f0..5f7a8308ba 100644 --- a/include/deal.II/lac/precondition.h +++ b/include/deal.II/lac/precondition.h @@ -1947,7 +1947,7 @@ namespace internal : updater(updater) { if (size < internal::VectorImplementation::minimum_parallel_grain_size) - apply_to_subrange(0, size); + VectorUpdatesRange::apply_to_subrange(0, size); else apply_parallel( 0,