Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-12-04 13:28:09 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-12-04 13:28:09 +0300
commit958df2ed1b6037b98eb73bb8e063732ba851854f (patch)
tree566cc879adb0f5bdc8aaa8ccc3b67525264f3dab /source/blender/blenlib/tests
parentf0df46287adf8553bac03bbaf8bbe67ad8652080 (diff)
Cleanup: Clang-Tidy, modernize-deprecated-headers
No functional changes.
Diffstat (limited to 'source/blender/blenlib/tests')
-rw-r--r--source/blender/blenlib/tests/BLI_expr_pylike_eval_test.cc2
-rw-r--r--source/blender/blenlib/tests/BLI_heap_simple_test.cc2
-rw-r--r--source/blender/blenlib/tests/BLI_heap_test.cc2
-rw-r--r--source/blender/blenlib/tests/BLI_math_rotation_test.cc2
-rw-r--r--source/blender/blenlib/tests/BLI_stack_test.cc2
-rw-r--r--source/blender/blenlib/tests/BLI_task_test.cc2
6 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/tests/BLI_expr_pylike_eval_test.cc b/source/blender/blenlib/tests/BLI_expr_pylike_eval_test.cc
index 390f687dbd1..e9ca3c68a71 100644
--- a/source/blender/blenlib/tests/BLI_expr_pylike_eval_test.cc
+++ b/source/blender/blenlib/tests/BLI_expr_pylike_eval_test.cc
@@ -2,7 +2,7 @@
#include "testing/testing.h"
-#include <string.h>
+#include <cstring>
#include "BLI_expr_pylike_eval.h"
#include "BLI_math.h"
diff --git a/source/blender/blenlib/tests/BLI_heap_simple_test.cc b/source/blender/blenlib/tests/BLI_heap_simple_test.cc
index f3a65125eeb..97644fc26ab 100644
--- a/source/blender/blenlib/tests/BLI_heap_simple_test.cc
+++ b/source/blender/blenlib/tests/BLI_heap_simple_test.cc
@@ -1,7 +1,7 @@
/* Apache License, Version 2.0 */
#include "testing/testing.h"
-#include <string.h>
+#include <cstring>
#include "MEM_guardedalloc.h"
diff --git a/source/blender/blenlib/tests/BLI_heap_test.cc b/source/blender/blenlib/tests/BLI_heap_test.cc
index 8b207c17c84..b8fc62e46ca 100644
--- a/source/blender/blenlib/tests/BLI_heap_test.cc
+++ b/source/blender/blenlib/tests/BLI_heap_test.cc
@@ -1,7 +1,7 @@
/* Apache License, Version 2.0 */
#include "testing/testing.h"
-#include <string.h>
+#include <cstring>
#include "MEM_guardedalloc.h"
diff --git a/source/blender/blenlib/tests/BLI_math_rotation_test.cc b/source/blender/blenlib/tests/BLI_math_rotation_test.cc
index 1b1c4ef24a1..02257ba83dd 100644
--- a/source/blender/blenlib/tests/BLI_math_rotation_test.cc
+++ b/source/blender/blenlib/tests/BLI_math_rotation_test.cc
@@ -4,7 +4,7 @@
#include "BLI_math_rotation.h"
-#include <math.h>
+#include <cmath>
/* Test that quaternion converts to itself via matrix. */
static void test_quat_to_mat_to_quat(float w, float x, float y, float z)
diff --git a/source/blender/blenlib/tests/BLI_stack_test.cc b/source/blender/blenlib/tests/BLI_stack_test.cc
index 211916e3193..1fef5998b99 100644
--- a/source/blender/blenlib/tests/BLI_stack_test.cc
+++ b/source/blender/blenlib/tests/BLI_stack_test.cc
@@ -1,7 +1,7 @@
/* Apache License, Version 2.0 */
#include "testing/testing.h"
-#include <string.h>
+#include <cstring>
#include "BLI_array.h"
#include "BLI_stack.h"
diff --git a/source/blender/blenlib/tests/BLI_task_test.cc b/source/blender/blenlib/tests/BLI_task_test.cc
index 2a3fddf5e3d..fce3e56d105 100644
--- a/source/blender/blenlib/tests/BLI_task_test.cc
+++ b/source/blender/blenlib/tests/BLI_task_test.cc
@@ -1,7 +1,7 @@
/* Apache License, Version 2.0 */
#include "testing/testing.h"
-#include <string.h>
+#include <cstring>
#include "atomic_ops.h"