mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 19:09:03 +08:00
Removed catch(..) from the codebase. Catch only std::exception
This commit is contained in:
@@ -42,13 +42,6 @@
|
||||
#define SPDLOG_DEPRECATED
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && !defined(__ANDROID__)
|
||||
#include <cxxabi.h>
|
||||
#define SPDLOG_CATCH_ALL catch (abi::__forced_unwind&) { _err_handler("Unknown exception"); throw; } catch (...)
|
||||
#else // __linux__
|
||||
#define SPDLOG_CATCH_ALL catch (...)
|
||||
#endif // __linux__
|
||||
|
||||
#include "fmt/fmt.h"
|
||||
|
||||
namespace spdlog
|
||||
|
Reference in New Issue
Block a user