Skip to content
Snippets Groups Projects
Commit ad94d2b5 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[matrix test]

avoid "variable unused" warning
in this case using DUNE_UNUSED is okay, since we just want to test the
existence of the copy constructor...

This is FS#1165 patch 2.
(thanks to Andreas Lauser for the patch)

[[Imported from SVN: r1717]]
parent b9a84be5
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ void testMatrix(MatrixType& matrix, X& x, Y& y)
matrix = 0;
// The copy constructor
MatrixType thirdMatrix(matrix);
DUNE_UNUSED MatrixType thirdMatrix(matrix);
// ///////////////////////////////////////////////////////
// Test component-wise operations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment