diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-21 02:34:07 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-22 15:02:04 -0400 |
commit | 3822e313232039af810b588646b724e19bc29bfc (patch) | |
tree | a231f473366f43c5cef8a540a090d83132fdb7b3 /src/common/bounded_threadsafe_queue.h | |
parent | cae108404a88a37bd767b46b6162a6e711ee805a (diff) |
CMakeLists: Disable C4100 and C4324
Disabling C4100 is similar to -Wno-unused-parameter
Diffstat (limited to 'src/common/bounded_threadsafe_queue.h')
-rw-r--r-- | src/common/bounded_threadsafe_queue.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/bounded_threadsafe_queue.h b/src/common/bounded_threadsafe_queue.h index 7e465549bd..21217801e6 100644 --- a/src/common/bounded_threadsafe_queue.h +++ b/src/common/bounded_threadsafe_queue.h @@ -21,11 +21,6 @@ constexpr size_t hardware_interference_size = std::hardware_destructive_interfer constexpr size_t hardware_interference_size = 64; #endif -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4324) -#endif - template <typename T, size_t capacity = 0x400> class MPSCQueue { public: @@ -160,8 +155,4 @@ private: static_assert(std::is_nothrow_destructible_v<T>, "T must be nothrow destructible"); }; -#ifdef _MSC_VER -#pragma warning(pop) -#endif - } // namespace Common |