Fix Coverity
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Dec 2011 13:40:07 +0000 (13:40 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Dec 2011 13:40:07 +0000 (13:40 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliFemtoLikeSignCorrFctn.h

index 4984856..1df5396 100644 (file)
@@ -17,6 +17,7 @@ public:
   AliFemtoLikeSignCorrFctn():AliFemtoCorrFctn() {/* no-op */};
   AliFemtoLikeSignCorrFctn(const AliFemtoLikeSignCorrFctn& aCorrFctn);
   virtual ~AliFemtoLikeSignCorrFctn(){/* no-op */};
+  AliFemtoLikeSignCorrFctn& operator=(const AliFemtoLikeSignCorrFctn& aCorrFctn);
 
   virtual void AddLikeSignPositivePair(const AliFemtoPair* aPair) = 0;
   virtual void AddLikeSignNegativePair(const AliFemtoPair* aPair) = 0;
@@ -28,5 +29,7 @@ public:
 };
 //________________________________________
 inline AliFemtoLikeSignCorrFctn::AliFemtoLikeSignCorrFctn(const AliFemtoLikeSignCorrFctn& /* c */):AliFemtoCorrFctn() { fyAnalysis =0; }
+inline AliFemtoLikeSignCorrFctn& AliFemtoLikeSignCorrFctn::operator=(const AliFemtoLikeSignCorrFctn& aCorrFctn) {   if (this != &aCorrFctn) { AliFemtoCorrFctn::operator=(aCorrFctn); } return *this; }
+
 
 #endif