aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-25 23:16:04 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-25 23:16:04 +0200
commitaf7a61a5464c266426a20e7dacf6c52bb80b28e9 (patch)
tree2257894c751d29ebf6b2eb1a8d1ec9fcf4c70c62 /test
parent792409865b159aaf49e3153a5f6c136f199e70a3 (diff)
downloadcpp-utils-af7a61a5464c266426a20e7dacf6c52bb80b28e9.tar.gz
cpp-utils-af7a61a5464c266426a20e7dacf6c52bb80b28e9.zip
lint: fix lints from newer clang-tidy version
Diffstat (limited to 'test')
-rw-r--r--test/bitfield.cc1
-rw-r--r--test/option.cc2
-rw-r--r--test/ring.cc1
3 files changed, 4 insertions, 0 deletions
diff --git a/test/bitfield.cc b/test/bitfield.cc
index 0d4dcac..f02abf5 100644
--- a/test/bitfield.cc
+++ b/test/bitfield.cc
@@ -1,6 +1,7 @@
#include <bitfield.h>
#include <cassert>
+#include <cstdint>
#include <cstdio>
BITFIELD_START(MOOSE, std::uint32_t)
diff --git a/test/option.cc b/test/option.cc
index cf80374..09c0fdf 100644
--- a/test/option.cc
+++ b/test/option.cc
@@ -1,6 +1,8 @@
#include <option.h>
+#include <cassert>
#include <cstdio>
#include <cstdlib>
+#include <utility>
struct checker {
static unsigned cnt;
diff --git a/test/ring.cc b/test/ring.cc
index 657fdfa..59dcc7c 100644
--- a/test/ring.cc
+++ b/test/ring.cc
@@ -1,5 +1,6 @@
#include <ring.h>
+#include <cassert>
#include <cstdio>
#define LOG \