/// \author Laurent Aphecetche
//-----------------------------------------------------------------------------
+using std::cout;
+using std::endl;
/// \cond CLASSIMP
ClassImp(AliMUONObjectPair)
/// \endcond
AliMUONObjectPair::operator=(const AliMUONObjectPair& other)
{
/// assignement operator
- AliDebug(1,"");
- AliMUONObjectPair pair(other);
- pair.Copy(*this);
+ if ( this != &other)
+ {
+ other.Copy(*this);
+ }
return *this;
}