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

- get rid DUNE_DEVEL_MODE

- always emit the fill exception

[[Imported from SVN: r6332]]
parent 46ba3ad4
No related branches found
No related tags found
No related merge requests found
......@@ -211,11 +211,7 @@ namespace Dune {
// the "format" the exception-type gets printed. __FILE__ and
// __LINE__ are standard C-defines, the GNU cpp-infofile claims that
// C99 defines __func__ as well. __FUNCTION__ is a GNU-extension
#ifdef DUNE_DEVEL_MODE
# define THROWSPEC(E) # E << " [" << __func__ << ":" << __FILE__ << ":" << __LINE__ << "]: "
#else
# define THROWSPEC(E) # E << ": "
#endif
#define THROWSPEC(E) # E << " [" << __func__ << ":" << __FILE__ << ":" << __LINE__ << "]: "
#endif // DOXYGEN
/*! Macro to throw an exception
......
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