Replace throw in debug mode in destructor

FileSegmentsHolder:
- Replaced throw in destructor with assert for all #ifdef modes.
This commit is contained in:
tcoyvwac 2022-03-31 18:13:58 +02:00
parent b56beeca9d
commit cb698c4cc1
No known key found for this signature in database
GPG Key ID: 88BAEF34B4B127DC

View File

@ -532,11 +532,8 @@ FileSegmentsHolder::~FileSegmentsHolder()
}
catch (...)
{
#ifdef NDEBUG
tryLogCurrentException(__PRETTY_FUNCTION__);
#else
throw;
#endif
assert(false);
}
}
}