summaryrefslogtreecommitdiff
path: root/src/client/Response.hxx
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/client/Response.hxx
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/client/Response.hxx')
-rw-r--r--src/client/Response.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/Response.hxx b/src/client/Response.hxx
index b2c72cf48..437ee69ef 100644
--- a/src/client/Response.hxx
+++ b/src/client/Response.hxx
@@ -24,8 +24,7 @@
#include "util/Compiler.h"
#include <cstdarg>
-
-#include <stddef.h>
+#include <cstddef>
template<typename T> struct ConstBuffer;
class Client;