diff options
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/rand.cc | 8 | ||||
-rw-r--r-- | source/blender/blenlib/intern/task_pool.cc | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/task_range.cc | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/threads.cc | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/intern/rand.cc b/source/blender/blenlib/intern/rand.cc index c61e17e6627..8dbfffbad20 100644 --- a/source/blender/blenlib/intern/rand.cc +++ b/source/blender/blenlib/intern/rand.cc @@ -21,10 +21,10 @@ * \ingroup bli */ -#include <math.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> +#include <cmath> +#include <cstdlib> +#include <cstring> +#include <ctime> #include "MEM_guardedalloc.h" diff --git a/source/blender/blenlib/intern/task_pool.cc b/source/blender/blenlib/intern/task_pool.cc index 1a119e135d5..142496dce20 100644 --- a/source/blender/blenlib/intern/task_pool.cc +++ b/source/blender/blenlib/intern/task_pool.cc @@ -20,8 +20,8 @@ * Task pool to run tasks in parallel. */ +#include <cstdlib> #include <memory> -#include <stdlib.h> #include <utility> #include "MEM_guardedalloc.h" diff --git a/source/blender/blenlib/intern/task_range.cc b/source/blender/blenlib/intern/task_range.cc index 229129bd088..c2498de1af8 100644 --- a/source/blender/blenlib/intern/task_range.cc +++ b/source/blender/blenlib/intern/task_range.cc @@ -20,7 +20,7 @@ * Task parallel range functions. */ -#include <stdlib.h> +#include <cstdlib> #include "MEM_guardedalloc.h" diff --git a/source/blender/blenlib/intern/threads.cc b/source/blender/blenlib/intern/threads.cc index a2b1a12c783..0586c361350 100644 --- a/source/blender/blenlib/intern/threads.cc +++ b/source/blender/blenlib/intern/threads.cc @@ -21,9 +21,9 @@ * \ingroup bli */ -#include <errno.h> -#include <stdlib.h> -#include <string.h> +#include <cerrno> +#include <cstdlib> +#include <cstring> #include "MEM_guardedalloc.h" |