Skip to content
Snippets Groups Projects
Commit d242b071 authored by Oliver Sander's avatar Oliver Sander
Browse files

remove compiler warning

[[Imported from SVN: r3750]]
parent 4a266b8f
Branches
Tags
No related merge requests found
......@@ -7,6 +7,8 @@
\brief A unique label for each type of element that can occur in a grid
*/
#include <dune/common/exceptions.hh>
namespace Dune {
/** \brief Enum that declares identifiers for different geometry types.
......@@ -99,6 +101,7 @@ namespace Dune {
case pyramid : return Dune::pyramid;
case prism : return Dune::prism;
}
DUNE_THROW(Exception, "Non-existing BasicType found!");
}
/** @name Setup Methods */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment