From a92ec64e0991cf8db8c5a0ee087bfcf40ef85efd Mon Sep 17 00:00:00 2001 From: Soeren Grunewald Date: Thu, 20 Mar 2025 09:02:29 +0100 Subject: [PATCH] SmallVector: Add missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Why] The compilation with GCC 15 fails with: > In file included from tests/incl_SmallVector.cc:23: > include/gul14/SmallVector.h:277:22: error: ‘uint32_t’ does not name a type [-Wtemplate-body] > 277 | using SizeType = uint32_t; > | ^~~~~~~~ > include/gul14/SmallVector.h:37:1: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ > 36 | #include "gul14/cat.h" > +++ |+#include > 37 | Signed-off-by: Soeren Grunewald --- include/gul14/SmallVector.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gul14/SmallVector.h b/include/gul14/SmallVector.h index 57cd2ecc..7ff7b576 100644 --- a/include/gul14/SmallVector.h +++ b/include/gul14/SmallVector.h @@ -25,6 +25,7 @@ #include #include +#include #include #include #include