Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

Copy constructor and operator= are missing in CIppImage

idana
Beginner
123 Views
Hi,
The copy constructor and operator= should be defined in CIppImage as this class contains a pointer to m_imageData. If implicit copy constructor or assignment operator are called, the destructor tries to release m_imageData twice, and fails.
Thank you.
0 Kudos
1 Reply
Sergey_K_Intel
Employee
123 Views
Hi,
The copy constructor and operator= should be defined in CIppImage as this class contains a pointer to m_imageData. If implicit copy constructor or assignment operator are called, the destructor tries to release m_imageData twice, and fails.
Thank you.

Once again you are right! We didn't need this functionality for UIC, but for any other usage assignment operator should be in place.

Thank you,
Sergey

Reply