bug: PXCBase protected copy CTOR/assignment operator: copy is not prohibited

bug: PXCBase protected copy CTOR/assignment operator: copy is not prohibited

Imagen de PAVEL S. (Intel)

PCSDK\include\pxcbase.h class PXCBase

Protected copy CTOR and assignment operator still available for "prohibited" copy in classes based on PXCBase, so "copy protection" is not prohibited at all.

Use following well-known access scheme.

class PXCBase
{
...
protected:
PXCBase::PXCBase(){}
...
private:
PXCBase(PXCBase const&); ///@note w/o implementation
PXCBase& operator=(PXCBase const&); ///@note w/o implementation
...
}; 

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Artem Vorobiev (Intel)

Hi sps,

Thank you for the bug report. Fix for this issue will be available in the future releases of Perceptual Computing SDK.

Best regards,
Artem

Imagen de Xintian Wu (Intel)

Thanks. This is very helpful.

Inicie sesión para dejar un comentario.