| 18 | |
| 19 | template<typename... Args> |
| 20 | static void FatalError(const char* fmt, const Args&... args) |
| 21 | { |
| 22 | std::string strMessage = tfm::format(fmt, args...); |
| 23 | SetMiscWarning(strMessage); |
| 24 | LogPrintf("*** %s\n", strMessage); |
| 25 | uiInterface.ThreadSafeMessageBox( |
| 26 | "Error: A fatal internal error occurred, see debug.log for details", |
| 27 | "", CClientUIInterface::MSG_ERROR); |
| 28 | StartShutdown(); |
| 29 | } |
| 30 | |
| 31 | BaseIndex::DB::DB(const fs::path& path, size_t n_cache_size, bool f_memory, bool f_wipe, bool f_obfuscate) : |
| 32 | CDBWrapper(path, n_cache_size, f_memory, f_wipe, f_obfuscate) |
no test coverage detected