Skip to content
Snippets Groups Projects
Commit 50289ede authored by Christian Engwer's avatar Christian Engwer
Browse files

avoid compiler warnings

[[Imported from SVN: r5082]]
parent 71c97aaf
No related branches found
No related tags found
No related merge requests found
......@@ -18,19 +18,22 @@ namespace Dune {
*
* overload operator <<= for FieldVector assignment from Dune::Zero
*/
class Zero {
struct Zero {
Zero (int) {};
/** \brief Conversion operator to double */
operator double () { return 0.0; }
/** \brief Conversion operator to int */
operator int () { return 0; }
} zero;
} zero = 0;
/**
* @brief Marker class for next row
*
* overload operator <<= for FiledMatrix assignment
*/
class NextRow {} nextRow;
struct NextRow {
NextRow (int) {};
} nextRow = 0;
} // end empty namespace
......
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