From: Wolfgang Bangerth Date: Sun, 14 May 2017 02:38:05 +0000 (-0600) Subject: Avoid a warning about an unused constructor argument. X-Git-Tag: v9.0.0-rc1~1595^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4388%2Fhead;p=dealii.git 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. --- 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