Skip to content
Snippets Groups Projects
Commit 39507e08 authored by Christoph Gersbacher's avatar Christoph Gersbacher
Browse files

[static assertion] Make more precise statement to the user in static assertion.

parent 66cb73fc
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ namespace Dune
{
static void apply ( M &m, const T &t )
{
static_assert( Conversion< T, M >::exists, "No specialization found" );
static_assert( Conversion< const T, const M >::exists, "No template specialization of DenseMatrixAssigner found" );
m = static_cast< const M & >( t );
}
};
......
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