aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"