From 71b693c7d25b18769deb15c77449a5c53d0c7235 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 13 May 2017 20:38:05 -0600 Subject: [PATCH] Avoid a warning about an unused constructor argument. Annoyingly, my compiler warns about =default constructors whenever we name constructor arguments. It says they are unused -- which is patently wrong: the argument is used just fine, we just never explicitly reference the *name* of the argument. Either way, work around this. --- include/deal.II/lac/block_vector_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/lac/block_vector_base.h b/include/deal.II/lac/block_vector_base.h index 26ba82b821..40f5072797 100644 --- a/include/deal.II/lac/block_vector_base.h +++ b/include/deal.II/lac/block_vector_base.h @@ -556,7 +556,7 @@ public: /** * Copy constructor. */ - BlockVectorBase (const BlockVectorBase &V) = default; + BlockVectorBase (const BlockVectorBase &/*V*/) = default; /** * Move constructor. Each block of the argument vector is moved into the current -- 2.39.5