mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 08:30:35 +00:00
If initialization of a TLS variable fails there is nothing better to do than call std::unexpected. This also adds a disable_failure_guard to avoid errors when using allocation error injection. With init() being noexcept, we can also mark clear_functions. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com> Message-Id: <20200804180550.96150-1-espindola@scylladb.com>