diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 23:34:10 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 23:34:10 +0100 |
commit | b848109e8c70ee00b433ff8f5fde3657c85e7487 (patch) | |
tree | cfaafd7797d77a9ad1d47fb69df6faca34756d21 /backend | |
parent | 5c34847218e8d754447f5cf71ed595bbb412eee7 (diff) |
check
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ListIterator.h | 3 | ||||
-rwxr-xr-x | backend/check | 2 |
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" |