mirror of https://github.com/davisking/dlib.git
Initialized exception_ptr since some systems, incorrectly, don't initialize it automatically.
This commit is contained in:
parent
8d76423096
commit
addb19d336
|
@ -1059,7 +1059,7 @@ namespace dlib
|
|||
long lr_schedule_pos;
|
||||
unsigned long gradient_check_budget;
|
||||
|
||||
std::exception_ptr eptr;
|
||||
std::exception_ptr eptr = nullptr;
|
||||
mutable std::mutex eptr_mutex;
|
||||
void propagate_exception() const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue