From 4f0b787dbb842e28d4f2fb2d1ed54235886a24a9 Mon Sep 17 00:00:00 2001 From: Lukas <33507994+Lukasdoe@users.noreply.github.com> Date: Sat, 18 Nov 2023 21:09:47 +0100 Subject: [PATCH] Remove pragma warning disable C4351 as it is undocumented (#8124) Co-authored-by: Derek Bailey --- include/flatbuffers/base.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h index 58f15d06500..97d76a6e645 100644 --- a/include/flatbuffers/base.h +++ b/include/flatbuffers/base.h @@ -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