Skip to content
Snippets Groups Projects
Commit 43e409e7 authored by Martin Nolte's avatar Martin Nolte
Browse files

make CHECK_INTERFACE_IMPLEMENTATION exception safe

[[Imported from SVN: r5606]]
parent cdc673e0
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,15 @@
if( call == true ) \
DUNE_THROW(NotImplemented,"Interface method not implemented!");\
call = true; \
(__interface_method_to_call__); \
call = false; \
try { \
(__interface_method_to_call__); \
call = false; \
} \
catch ( ... ) \
{ \
call = false; \
throw; \
} \
}
#endif
#endif
......
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