diff options
author | David Robillard <d@drobilla.net> | 2023-02-03 14:42:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-03 14:42:49 -0500 |
commit | c4f719b1831e35663163e09a0d692c909c09d95f (patch) | |
tree | 678034df92cd373e8719b9b99506ea1e6a38fcff /test/array_test.cpp | |
parent | 3d685246480d5bd813f5d5f15a9352a9f4a1600c (diff) | |
download | raul-c4f719b1831e35663163e09a0d692c909c09d95f.tar.gz raul-c4f719b1831e35663163e09a0d692c909c09d95f.tar.bz2 raul-c4f719b1831e35663163e09a0d692c909c09d95f.zip |
Suppress/fix new warnings in clang-tidy 15
Diffstat (limited to 'test/array_test.cpp')
-rw-r--r-- | test/array_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/array_test.cpp b/test/array_test.cpp index e583acd..5f10693 100644 --- a/test/array_test.cpp +++ b/test/array_test.cpp @@ -26,12 +26,12 @@ main() array1.alloc(8, 0); assert(array1.size() == 8); - raul::Array<int> array2(array1); + const raul::Array<int> array2{array1}; for (size_t i = 0; i < array1.size(); ++i) { assert(array2[i] == array1[i]); } - raul::Array<int> array3(8, 47); + const raul::Array<int> array3{8, 47}; assert(array3[0] == 47); assert(array3.size() == 8); |