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
a011acc9
Commit
a011acc9
authored
Nov 03, 2015
by
incardon
Browse files
Fixing SE compilation
parent
e15dcba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/se_util.hpp
View file @
a011acc9
...
...
@@ -11,10 +11,13 @@
// Macro that decide what to do in case of error
#ifdef STOP_ON_ERROR
#define ACTION_ON_ERROR(error) exit(1);
#define THROW noexcept(true)
#elif defined(THROW_ON_ERROR)
#define ACTION_ON_ERROR(error) if (!std::uncaught_exception()) throw error;
#define THROW noexcept(false)
#else
#define ACTION_ON_ERROR(error)
#define THROW noexcept(true)
#endif
...
...
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