Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
6594 Discussions

Copy constructor and operator= are missing in CIppImage

idana
Beginner
71 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
71 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