Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6721 Discussions

Copy constructor and operator= are missing in CIppImage

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

0 Kudos
Reply