From ecd3f85fc68c0e33e1340460839151a4fe178f90 Mon Sep 17 00:00:00 2001 From: Liam Middlebrook Date: Mon, 19 Mar 2018 12:28:04 -0700 Subject: layers: Fix Superfluous inttypes.h Includes The files that explicitly include are C++ files. The convention for including C header files in C++ programs is to use a special C++ header file that wraps the C header file. For example would be included as . In vk_layer_logging.h:34 is included. In buffer_validation.cpp and parameter_validation_utils.cpp "vk_layer_logging.h" is directly included. In core_validation.cpp "vk_layer_logging.h" is indirectly included via core_validation.h This change removes the invalid and superfluous use of C header files from the aforementioned C++ files. Change-Id: I1bed9ea4bf6c3bb98ac5ae05ad227c0da58acb2c Reviewed-by: dkoch Reviewed-by: ddadap --- layers/buffer_validation.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'layers/buffer_validation.cpp') diff --git a/layers/buffer_validation.cpp b/layers/buffer_validation.cpp index ac332d8b..518bcfd8 100644 --- a/layers/buffer_validation.cpp +++ b/layers/buffer_validation.cpp @@ -22,7 +22,6 @@ // Allow use of STL min and max functions in Windows #define NOMINMAX -#include #include #include -- cgit v1.2.3