Skip to content
Snippets Groups Projects
Commit d75af082 authored by Andreas Dedner's avatar Andreas Dedner
Browse files
parents 117e0f7d d6f00739
Branches
Tags
No related merge requests found
......@@ -315,7 +315,7 @@ namespace Dune
//===== conversion operator
operator K () const { return _data[0]; }
operator const K& () const { return _data[0]; }
};
......
......@@ -269,10 +269,10 @@ namespace Dune {
//===== conversion operator
/** \brief Conversion operator */
operator K () { return _data; }
operator K& () { return _data; }
/** \brief Const conversion operator */
operator K () const { return _data; }
operator const K& () const { return _data; }
};
/* ----- FV / FV ----- */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment