From: wolf Date: Tue, 8 Oct 2002 15:44:42 +0000 (+0000) Subject: Obviously, operator= better returns a reference than a value (would it X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4399ea939f51c9e32d75fbceee01cdd7a713da0;p=dealii-svn.git Obviously, operator= better returns a reference than a value (would it be infinitely recursive otherwise?) git-svn-id: https://svn.dealii.org/trunk@6619 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_sparse_matrix_ez.h b/deal.II/lac/include/lac/block_sparse_matrix_ez.h index 7bbfaf00e1..c0dd43ac08 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/block_sparse_matrix_ez.h @@ -73,7 +73,7 @@ class BlockSparseMatrixEZ : public Subscriptor * called for objects with empty * blocks only. */ - BlockSparseMatrixEZ operator = (const BlockSparseMatrixEZ&); + BlockSparseMatrixEZ & operator = (const BlockSparseMatrixEZ&); /** * Initialize to given block