Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Ankündigungen
Important Update: Community Platform Migration​. Learn more​>
6845 Diskussionen

Copy constructor and operator= are missing in CIppImage

idana
Einsteiger
1.177Aufrufe
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 Antworten
Sergey_K_Intel
Mitarbeiter
1.177Aufrufe
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

Antworten