mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Remove unnecessary defines in concurrentqueue
Remove defines related to exceptions in `tracy_concurrentqueue.h` as they are not used anywhere
This commit is contained in:
parent
5490948567
commit
607f988d1a
@ -62,24 +62,6 @@
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
// Exceptions
|
||||
#ifndef MOODYCAMEL_EXCEPTIONS_ENABLED
|
||||
#if (defined(_MSC_VER) && defined(_CPPUNWIND)) || (defined(__GNUC__) && defined(__EXCEPTIONS)) || (!defined(_MSC_VER) && !defined(__GNUC__))
|
||||
#define MOODYCAMEL_EXCEPTIONS_ENABLED
|
||||
#endif
|
||||
#endif
|
||||
#ifdef MOODYCAMEL_EXCEPTIONS_ENABLED
|
||||
#define MOODYCAMEL_TRY try
|
||||
#define MOODYCAMEL_CATCH(...) catch(__VA_ARGS__)
|
||||
#define MOODYCAMEL_RETHROW throw
|
||||
#define MOODYCAMEL_THROW(expr) throw (expr)
|
||||
#else
|
||||
#define MOODYCAMEL_TRY if (true)
|
||||
#define MOODYCAMEL_CATCH(...) else if (false)
|
||||
#define MOODYCAMEL_RETHROW
|
||||
#define MOODYCAMEL_THROW(expr)
|
||||
#endif
|
||||
|
||||
#ifndef MOODYCAMEL_NOEXCEPT
|
||||
#if !defined(MOODYCAMEL_EXCEPTIONS_ENABLED)
|
||||
#define MOODYCAMEL_NOEXCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user