Initialized exception_ptr since some systems, incorrectly, don't initialize it automatically.

This commit is contained in:
Davis King 2017-01-03 06:35:32 -05:00
parent 8d76423096
commit addb19d336
1 changed files with 1 additions and 1 deletions

View File

@ -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
{