Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_devices
Commits
9dc7f980
Commit
9dc7f980
authored
Jul 16, 2017
by
incardon
Browse files
changing from exit to abort
parent
9817279e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/se_util.hpp
View file @
9dc7f980
...
...
@@ -12,7 +12,7 @@
// Macro that decide what to do in case of error
#ifdef STOP_ON_ERROR
#define ACTION_ON_ERROR(error) print_stack();
exi
t(
1
);
#define ACTION_ON_ERROR(error) print_stack();
abor
t();
#define THROW noexcept(true)
#elif defined(THROW_ON_ERROR)
#define ACTION_ON_ERROR(error) if (!std::uncaught_exception()) {print_stack();throw error;}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment