Kaydet (Commit) 3d815478 authored tarafından Noel Grandin's avatar Noel Grandin

cid#1371277 Missing move assignment operator

Change-Id: Ic737733f5951d5b21660a12a7a01202bd9bc303c
üst 69a5e1e5
...@@ -84,6 +84,11 @@ namespace drawinglayer ...@@ -84,6 +84,11 @@ namespace drawinglayer
{ {
} }
SdrLightingAttribute::SdrLightingAttribute(SdrLightingAttribute&& rCandidate)
: mpSdrLightingAttribute(std::move(rCandidate.mpSdrLightingAttribute))
{
}
SdrLightingAttribute::~SdrLightingAttribute() SdrLightingAttribute::~SdrLightingAttribute()
{ {
} }
......
...@@ -58,7 +58,9 @@ namespace drawinglayer ...@@ -58,7 +58,9 @@ namespace drawinglayer
const ::std::vector< Sdr3DLightAttribute >& rLightVector); const ::std::vector< Sdr3DLightAttribute >& rLightVector);
SdrLightingAttribute(); SdrLightingAttribute();
SdrLightingAttribute(const SdrLightingAttribute& rCandidate); SdrLightingAttribute(const SdrLightingAttribute& rCandidate);
SdrLightingAttribute(SdrLightingAttribute&& rCandidate);
SdrLightingAttribute& operator=(const SdrLightingAttribute& rCandidate); SdrLightingAttribute& operator=(const SdrLightingAttribute& rCandidate);
SdrLightingAttribute& operator=(SdrLightingAttribute&& rCandidate);
~SdrLightingAttribute(); ~SdrLightingAttribute();
// checks if the incarnation is default constructed // checks if the incarnation is default constructed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment