Skip to content

Commit

Permalink
Remove pragma warning disable C4351 as it is undocumented (#8124)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Bailey <derekbailey@google.com>
  • Loading branch information
Lukasdoe and dbaileychess authored Nov 18, 2023
1 parent eb64390 commit 8e34ad5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/flatbuffers/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ inline bool VerifyAlignmentRequirements(size_t align, size_t min_align = 1) {
}

#if defined(_MSC_VER)
#pragma warning(disable: 4351) // C4351: new behavior: elements of array ... will be default initialized
#pragma warning(push)
#pragma warning(disable: 4127) // C4127: conditional expression is constant
#endif
Expand Down

0 comments on commit 8e34ad5

Please sign in to comment.