leon 5 months ago
parent
commit
727bfc5137
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/interface.cpp

+ 1 - 1
src/interface.cpp

@@ -60,7 +60,7 @@ public:
 
     //! 2. cast cv::Mat to numpy.ndarray
     static handle cast(const cv::Mat& mat, return_value_policy, handle defval){
-        UNUSED(defval);
+        Py_UNUSED(defval);
 
         std::string format = format_descriptor<unsigned char>::format();
         size_t elemsize = sizeof(unsigned char);