Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
4ab360e4
Commit
4ab360e4
authored
Aug 10, 2017
by
Davis King
Browse files
Added DLIB_NO_ABORT_ON_2ND_FATAL_ERROR for dlib::fatal_error as a generic
switch for use in plugin environments.
parent
2630029c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/error.h
dlib/error.h
+1
-1
No files found.
dlib/error.h
View file @
4ab360e4
...
@@ -258,7 +258,7 @@ namespace dlib
...
@@ -258,7 +258,7 @@ namespace dlib
// MATLAB, then don't do these checks since it terminates the over arching
// MATLAB, then don't do these checks since it terminates the over arching
// system. Just let the errors go to the plugin handler and it will deal with
// system. Just let the errors go to the plugin handler and it will deal with
// them.
// them.
#if defined(MATLAB_MEX_FILE)
#if defined(MATLAB_MEX_FILE)
|| defined(DLIB_NO_ABORT_ON_2ND_FATAL_ERROR)
return
;
return
;
#else
#else
static
bool
is_first_fatal_error
=
true
;
static
bool
is_first_fatal_error
=
true
;
...
...
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