aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 23:34:10 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 23:34:10 +0100
commitb848109e8c70ee00b433ff8f5fde3657c85e7487 (patch)
treecfaafd7797d77a9ad1d47fb69df6faca34756d21 /backend
parent5c34847218e8d754447f5cf71ed595bbb412eee7 (diff)
check
Diffstat (limited to 'backend')
-rw-r--r--backend/ListIterator.h3
-rwxr-xr-xbackend/check2
2 files changed, 3 insertions, 2 deletions
diff --git a/backend/ListIterator.h b/backend/ListIterator.h
index aa78931..5e4774b 100644
--- a/backend/ListIterator.h
+++ b/backend/ListIterator.h
@@ -1,7 +1,8 @@
#pragma once
#include "backend/List.h"
-#include <cstddef>
+
+#include <stddef.h>
template <typename T>
class List;
diff --git a/backend/check b/backend/check
index 445dbbe..b283acf 100755
--- a/backend/check
+++ b/backend/check
@@ -1,7 +1,7 @@
#!/bin/sh
for file in *.cpp *.hpp *.h ; do
# non C-style headers
- grep -Hn '#include\s*<[^.]\+>' "$file"
+ grep -Hn '#include\s*<[^.]\+>' "$file" | grep -v '<random>'
# forbidden STL containers
grep -Hn '\<make_unique\>' "$file"
grep -Hn '\<vector\>' "$file"