]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTModuleAgent.h
Fix for the case of non-existent calibration files
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTModuleAgent.h
index ca1c8030363ff42de5e7c6572f37a4700bc3fc5d..57359349d50bb325a68cbf04e93f60b484b09d65 100644 (file)
@@ -277,7 +277,8 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
     AliHLTOUTHandlerDesc(const AliHLTOUTHandlerDesc& src) 
       : fHType(src.fHType), fDt(src.fDt), fModule(src.fModule) {}
 
-    const AliHLTOUTHandlerDesc& operator=(const AliHLTOUTHandlerDesc& src) {
+    AliHLTOUTHandlerDesc& operator=(const AliHLTOUTHandlerDesc& src) {
+      if (this==&src) return *this;
       fHType=src.fHType; fDt=src.fDt; fModule=src.fModule; return *this;
     }