summaryrefslogtreecommitdiff
path: root/src/tag
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-12 16:46:28 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-12 19:04:38 -0700
commit2db8bcc353ce4360a6dbe4c73afcaae1c27fce43 (patch)
tree82f385cbb1ead61319bfd16380ccd44cbf2da7c4 /src/tag
parentc846ee0d1b603e141fc536078b920caedae3bf6f (diff)
replace stddef.h with cstddef
The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the header<cstddef>are the same as the C standard library header<stddef.h>,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/tag')
-rw-r--r--src/tag/Aiff.hxx2
-rw-r--r--src/tag/Riff.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tag/Aiff.hxx b/src/tag/Aiff.hxx
index 43103963b..b3bebb60b 100644
--- a/src/tag/Aiff.hxx
+++ b/src/tag/Aiff.hxx
@@ -27,7 +27,7 @@
#include "thread/Mutex.hxx"
-#include <stddef.h>
+#include <cstddef>
class InputStream;
diff --git a/src/tag/Riff.hxx b/src/tag/Riff.hxx
index 3aa4d4666..7ffcd1f9b 100644
--- a/src/tag/Riff.hxx
+++ b/src/tag/Riff.hxx
@@ -27,7 +27,7 @@
#include "thread/Mutex.hxx"
-#include <stddef.h>
+#include <cstddef>
class InputStream;