Skip to content

Commit 2dca8e3

Browse files
soerengrunewaldalt-graph
authored andcommitted
SmallVector: Add missing include
[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 ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ > 36 | #include "gul14/cat.h" > +++ |+#include <cstdint> > 37 | Signed-off-by: Soeren Grunewald <soeren.grunewald@desy.de>
1 parent 5a9dfc6 commit 2dca8e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/gul14/SmallVector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include <algorithm>
2727
#include <array>
28+
#include <cstdint>
2829
#include <initializer_list>
2930
#include <iterator>
3031
#include <limits>

0 commit comments

Comments
 (0)