]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDUShortMap.cxx
coverity
[u/mrichter/AliRoot.git] / FMD / AliFMDUShortMap.cxx
index b688651c947ae5bc29c8e4f0d4839f1e5f0a06ce..b0e75f6e94d2238484e0c772ea0b97981f7dfc0d 100644 (file)
@@ -86,6 +86,7 @@ AliFMDUShortMap&
 AliFMDUShortMap::operator=(const AliFMDUShortMap& other) 
 {
   // Assignment operator
+  if (&other == this) return *this; 
   fMaxDetectors = other.fMaxDetectors;
   fMaxRings     = other.fMaxRings;
   fMaxSectors   = other.fMaxSectors;