Skip to content

Commit 33691c3

Browse files
committed
common: tools: suppress cppcheck templateRecursion for Array
Signed-off-by: Oleksandr Grytsov <[email protected]>
1 parent 1020104 commit 33691c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/common/tools/array.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Array : public AlgorithmItf<T, T*, const T*> {
4545
* @param size C array size.
4646
*/
4747
Array(const T* items, size_t size)
48+
// cppcheck-suppress templateRecursion
4849
: mItems(const_cast<RemoveConstType<T>*>(items))
4950
, mSize(size)
5051
, mMaxSize(size)

0 commit comments

Comments
 (0)