clang-tidy: C++ headers

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-04-11 19:14:42 -07:00 committed by Jonathan White
parent 7e44b67906
commit f3f1520f81
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
#elif defined(HAVE_MALLOC_H) #elif defined(HAVE_MALLOC_H)
#include <malloc.h> #include <malloc.h>
#else #else
#include <stdlib.h> #include <cstdlib>
#endif #endif
#if defined(NDEBUG) && !defined(__cpp_sized_deallocation) #if defined(NDEBUG) && !defined(__cpp_sized_deallocation)

View File

@ -35,7 +35,7 @@
#include <QStandardPaths> #include <QStandardPaths>
#if defined(Q_OS_UNIX) #if defined(Q_OS_UNIX)
#include <signal.h> #include <csignal>
#include <sys/socket.h> #include <sys/socket.h>
#include <unistd.h> #include <unistd.h>
#endif #endif

View File

@ -27,8 +27,8 @@
*/ */
#include "phantomcolor.h" #include "phantomcolor.h"
#include <cfloat>
#include <cmath> #include <cmath>
#include <float.h>
namespace Phantom namespace Phantom
{ {