From afd2c73d249245a3a433599e1a1651bdbb72be41 Mon Sep 17 00:00:00 2001 From: Georgiy Manuilov Date: Wed, 3 Feb 2021 12:56:29 +0300 Subject: [PATCH 1/2] Add missing header for std::tolower Missing header causes syntax error when compiling for Windows using Visual studio 2017. Closes #4155 --- ngraph/core/src/op/util/attr_types.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ngraph/core/src/op/util/attr_types.cpp b/ngraph/core/src/op/util/attr_types.cpp index 60af609c673269..21328eb98fc26e 100644 --- a/ngraph/core/src/op/util/attr_types.cpp +++ b/ngraph/core/src/op/util/attr_types.cpp @@ -14,6 +14,7 @@ // limitations under the License. //***************************************************************************** #include +#include #include "ngraph/attribute_visitor.hpp" #include "ngraph/check.hpp" From 753afe952a3a013d667d6003c245bb8407f80cd9 Mon Sep 17 00:00:00 2001 From: Georgiy Manuilov Date: Wed, 3 Feb 2021 13:10:44 +0300 Subject: [PATCH 2/2] Reordered STL header includes in order to pass style check --- ngraph/core/src/op/util/attr_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngraph/core/src/op/util/attr_types.cpp b/ngraph/core/src/op/util/attr_types.cpp index 21328eb98fc26e..3d109afeaf909e 100644 --- a/ngraph/core/src/op/util/attr_types.cpp +++ b/ngraph/core/src/op/util/attr_types.cpp @@ -13,8 +13,8 @@ // See the License for the specific language governing permissions and // limitations under the License. //***************************************************************************** -#include #include +#include #include "ngraph/attribute_visitor.hpp" #include "ngraph/check.hpp"