From 9961cec61d2782e4bfb4ff82d583cc7eb4d88e19 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 6 Nov 2016 08:47:17 -0500 Subject: [PATCH] Clarify the signature of a copy constructor. PVS studio claims that we do not implement a copy constructor for this iterator. It is likely that (unnecessarily) including the template arguments here confused PVS studio, so remove them. --- include/deal.II/lac/block_vector_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/block_vector_base.h b/include/deal.II/lac/block_vector_base.h index 7ebd90efbe..69506a8ef0 100644 --- a/include/deal.II/lac/block_vector_base.h +++ b/include/deal.II/lac/block_vector_base.h @@ -277,9 +277,9 @@ namespace internal /** - * Copy constructor. + * Copy constructor from an iterator with the same constness. */ - Iterator (const Iterator &c); + Iterator (const Iterator &c); private: /** -- 2.39.5