79582928

Date: 2025-04-20 00:28:52
Score: 1.5
Natty:
Report link

The problem indicates that, you are trying to use a deleted function. Some of automatic methods generated by the compiler(for ex: copy constructors), are deleted by developer in order to prevent unwanted implicit operations. On your answer by using pass by reference, for the _dst argument, you prevented unnecessary generation of a new cv::Mat& type as the function argument. That would also trigger a copy constructor of cv::Mat&, instead, the function took the original _dst, therefore a deleted copy constructor call is evaded.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ASD MAN