mirror of
https://github.com/bkaradzic/bx.git
synced 2026-10-22 00:31:02 +00:00
Fixed Catch2 disabling MSVC optimizations for rest of translation unit. (#460)
This commit is contained in:
committed by
GitHub
parent
a361ff7878
commit
983e0b9af7
2
3rdparty/catch/catch_amalgamated.hpp
vendored
2
3rdparty/catch/catch_amalgamated.hpp
vendored
@@ -1520,7 +1520,7 @@ namespace Catch {
|
||||
*reinterpret_cast<char volatile*>(p) = *reinterpret_cast<char const volatile*>(p);
|
||||
}
|
||||
// TODO equivalent keep_memory()
|
||||
#if defined(_MSVC_VER)
|
||||
#if defined(_MSC_VER)
|
||||
#pragma optimize("", on)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user