leon hace 5 meses
padre
commit
727bfc5137
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);