Skip to content

Commit

Permalink
fix cppcheck issue in CloneToNDArray
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufjimoh committed Feb 1, 2025
1 parent d0e9967 commit 963d2f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ template <typename ElementType> PyObject *cloneND(const ElementType *carray, con
* @param dims :: The length of the arrays in each dimension
* @return
*/
// cppcheck-suppress constParameterCallback
template <> PyObject *cloneND(const std::string *carray, const int ndims, const Py_intptr_t *dims) {
boost::python::list pystrs;
const std::string *iter = carray;
Expand Down

0 comments on commit 963d2f5

Please sign in to comment.