Skip to content

Commit

Permalink
Remove unbalanced #pragma warning(push)
Browse files Browse the repository at this point in the history
When this #pragma is present, if you use /external:W0 for your project
then all your internal headers are also set to /W0 for warning level.
  • Loading branch information
stevew-cgnx authored and yjiao-cgnx committed Oct 27, 2021
1 parent d109218 commit 07a3cba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rttr/detail/base/core_prerequisites.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ namespace rttr
// Disable some MSVC compile warnings
/////////////////////////////////////////////////////////////////////////////////////////
#if RTTR_COMPILER == RTTR_COMPILER_MSVC
// Save warnings state
# pragma warning (push)
// Turn off warnings generated by long std templates
// This warns about truncation to 255 characters in debug/browse info
# pragma warning (disable : 4786)
Expand Down

0 comments on commit 07a3cba

Please sign in to comment.