Skip to content

Commit

Permalink
Remove pragma warning disable C4351 as it is undocumented (google#8124)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Bailey <derekbailey@google.com>
  • Loading branch information
2 people authored and Jochen Parmentier committed Oct 29, 2024
1 parent e2c4ec0 commit 4f0b787
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 4f0b787

Please sign in to comment.