Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idana
Beginner
67 Views

Copy constructor and operator= are missing in CIppImage

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
67 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