Removed catch(..) from the codebase. Catch only std::exception

This commit is contained in:
gabime
2017-11-12 19:46:15 +02:00
parent 63d7c64618
commit 8ca1d84a32
4 changed files with 5 additions and 34 deletions

View File

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