Skip to content
Snippets Groups Projects
Commit d6a1ba13 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[common.exceptions] add DEBUG_THROW_IF

parent a11c842c
No related branches found
No related tags found
1 merge request!12Add DEBUG_THROW_IF
Pipeline #57560 passed
......@@ -82,6 +82,12 @@ if (a.size() != b.size())
} \
} while (0)
#ifndef NDEBUG
# define DEBUG_THROW_IF(condition, E, m) DUNE_THROW_IF(condition, E, m)
#else
# define DEBUG_THROW_IF(condition, E, m) (void)0
#endif
namespace Dune {
namespace XT {
......
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