Skip to content
Snippets Groups Projects
Commit 815448d3 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

constructor taking only one argument should be explicit

[[Imported from SVN: r6366]]
parent 2407c5f1
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ namespace Dune {
//! Constructor making vector with identical coordinates
template<class C>
FieldVector (const DenseVector<C> & x)
explicit FieldVector (const DenseVector<C> & x)
{
assert(x.size() == SIZE);
for (size_type i = 0; i<SIZE; 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