Skip to content
Snippets Groups Projects
Commit dfc0c8fa authored by Markus Blatt's avatar Markus Blatt
Browse files

use the DUNE version of static_assert to support older compilers.

[[Imported from SVN: r6377]]
parent ba4c6595
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ namespace Dune {
template<class K1, int SIZE1>
explicit FieldVector (const FieldVector<K1,SIZE1> & x)
{
static_assert(SIZE1 == SIZE, "FieldVector in costructor has wrong size");
dune_static_assert(SIZE1 == SIZE, "FieldVector in costructor has wrong size");
for (size_type i = 0; i<SIZE; i++)
_data[i] = x[i];
}
......
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