Kaydet (Commit) 94e21830 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i122208# fix sd::TransferableData::Representative's assignment operator

üst 7bae0d96
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
: maBitmap(rBitmap), mbIsExcluded(bIsExcluded) {} : maBitmap(rBitmap), mbIsExcluded(bIsExcluded) {}
Representative (const Representative& rOther) Representative (const Representative& rOther)
: maBitmap(rOther.maBitmap), mbIsExcluded(rOther.mbIsExcluded) {} : maBitmap(rOther.maBitmap), mbIsExcluded(rOther.mbIsExcluded) {}
Representative operator= (Representative& rOther) Representative operator=( const Representative& rOther)
{ if (&rOther != this) {maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; } { if (&rOther != this) {maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; }
return *this; return *this;
} }
......
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