cid#1371277 Missing move assignment operator

Change-Id: Ic737733f5951d5b21660a12a7a01202bd9bc303c
This commit is contained in:
Noel Grandin 2016-08-25 13:14:46 +02:00
parent 69a5e1e562
commit 3d8154789b
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,11 @@ namespace drawinglayer
{
}
SdrLightingAttribute::SdrLightingAttribute(SdrLightingAttribute&& rCandidate)
: mpSdrLightingAttribute(std::move(rCandidate.mpSdrLightingAttribute))
{
}
SdrLightingAttribute::~SdrLightingAttribute()
{
}

View File

@ -58,7 +58,9 @@ namespace drawinglayer
const ::std::vector< Sdr3DLightAttribute >& rLightVector);
SdrLightingAttribute();
SdrLightingAttribute(const SdrLightingAttribute& rCandidate);
SdrLightingAttribute(SdrLightingAttribute&& rCandidate);
SdrLightingAttribute& operator=(const SdrLightingAttribute& rCandidate);
SdrLightingAttribute& operator=(SdrLightingAttribute&& rCandidate);
~SdrLightingAttribute();
// checks if the incarnation is default constructed