message: AliFemtoConfigObject: Better guarantees of move-operators
diff: @@ -1196,6 +1196,8 @@ AliFemtoConfigObject::operator=(AliFemtoConfigObject const &rhs)
  }
  #undef COPY
  +
  + fTypeTag = rhs.fTypeTag;
  }
  return *this;
  }
  @@ -1207,13 +1209,15 @@ inline
  AliFemtoConfigObject::AliFemtoConfigObject(AliFemtoConfigObject &&orig):
  TObject(orig)
  , fTypeTag(kEMPTY)
  - , fPainter(orig.fPainter)
  + , fPainter(nullptr)
  {
  _MoveConstructValue(std::move(orig));
  - orig.fPainter = nullptr;
  + /*
  + std::swap(fPainter, orig.fPainter);
  if (fPainter) {
  fPainter->ResetData(this);
  }
  + */
  }
  /// Move assignment-operator
  @@ -1242,9 +1246,15 @@ AliFemtoConfigObject& AliFemtoConfigObject::operator=(AliFemtoConfigObject &&rhs
  rhs._DeleteValue();
  }
  + // unsure if this is proper behavior
  + /*
  delete fPainter;
  fPainter = nullptr;
  std::swap(fPainter, rhs.fPainter);
  + if (fPainter) {
  + fPainter->ResetData(this);
  + }
  + */
  return *this;
  }
  