]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
corrected compilation warnings
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Oct 2007 09:07:08 +0000 (09:07 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Oct 2007 09:07:08 +0000 (09:07 +0000)
20 files changed:
HLT/BASE/AliHLTComponent.cxx
HLT/BASE/AliHLTComponentHandler.cxx
HLT/BASE/AliHLTComponentHandler.h
HLT/BASE/AliHLTDataBuffer.cxx
HLT/BASE/AliHLTDataSink.cxx
HLT/BASE/AliHLTDataSource.cxx
HLT/BASE/AliHLTMemoryFile.cxx
HLT/BASE/AliHLTOfflineInterface.cxx
HLT/BASE/AliHLTProcessor.cxx
HLT/BASE/util/AliHLTAgentUtil.cxx
HLT/BASE/util/AliHLTDynamicAliLog.cxx
HLT/BASE/util/AliHLTLoaderPublisherComponent.cxx
HLT/BASE/util/AliHLTRootFileStreamerComponent.cxx
HLT/TPCLib/AliHLTTPCAgent.cxx
HLT/TPCLib/AliHLTTPCDigitReaderRaw.cxx
HLT/TPCLib/AliHLTTPCDigitReaderRaw.h
HLT/TPCLib/AliHLTTPCFileHandler.cxx
HLT/TPCLib/AliHLTTPCFitter.cxx
HLT/TPCLib/AliHLTTPCFitter.h
HLT/TPCLib/AliHLTTPCMemHandler.cxx

index 41217f9851d56c06bb4a07d8dee1f698b0f0303b..b583744c7fde093fd803cc785911344df63620ad 100644 (file)
@@ -547,7 +547,7 @@ TObject* AliHLTComponent::CreateInputObject(int idx, int bForce)
   return pObj;
 }
 
-TObject* AliHLTComponent::GetInputObject(int idx, const char* classname, int bForce)
+TObject* AliHLTComponent::GetInputObject(int idx, const char* /*classname*/, int bForce)
 {
   // see header file for function documentation
   if (fpInputObjects==NULL) {
index 7849ee4cabef3b26710501518ddac245a85b1540..f95574a1be12149c78d47c1657c12f0153c42b0c 100644 (file)
@@ -67,6 +67,7 @@ AliHLTComponentHandler::AliHLTComponentHandler()
 
 AliHLTComponentHandler::AliHLTComponentHandler(AliHLTComponentEnvironment* pEnv)
   :
+  AliHLTLogging(),
   fComponentList(),
   fScheduleList(),
   fLibraryList(),
@@ -88,25 +89,6 @@ AliHLTComponentHandler::AliHLTComponentHandler(AliHLTComponentEnvironment* pEnv)
   AddStandardComponents();
 }
 
-AliHLTComponentHandler::AliHLTComponentHandler(const AliHLTComponentHandler&)
-  :
-  fComponentList(),
-  fScheduleList(),
-  fLibraryList(),
-  fEnvironment(),
-  fStandardList()
-{
-  // see header file for class documentation
-  HLTFatal("copy constructor untested");
-}
-
-AliHLTComponentHandler& AliHLTComponentHandler::operator=(const AliHLTComponentHandler&)
-{ 
-  // see header file for class documentation
-  HLTFatal("assignment operator untested");
-  return *this;
-}
-
 AliHLTComponentHandler::~AliHLTComponentHandler()
 {
   // see header file for class documentation
index 3ee115d89ca3be29427999b9e9894ef53a03e950..d75a7e974401762d9e5a93b13c159df689b4284b 100644 (file)
@@ -41,10 +41,6 @@ class AliHLTComponentHandler : public AliHLTLogging {
   AliHLTComponentHandler();
   /** constructor */
   AliHLTComponentHandler(AliHLTComponentEnvironment* pEnv);
-  /** not a valid copy constructor, defined according to effective C++ style */
-  AliHLTComponentHandler(const AliHLTComponentHandler&);
-  /** not a valid assignment op, but defined according to effective C++ style */
-  AliHLTComponentHandler& operator=(const AliHLTComponentHandler&);
   /** destructor */
   virtual ~AliHLTComponentHandler();
 
@@ -189,6 +185,11 @@ class AliHLTComponentHandler : public AliHLTLogging {
  protected:
 
  private:
+  /** copy constructor prohibited */
+  AliHLTComponentHandler(const AliHLTComponentHandler&);
+  /** assignment operator prohibited */
+  AliHLTComponentHandler& operator=(const AliHLTComponentHandler&);
+
   /**
    * Find a component.
    * @param componentID  ID of the component to find
index 16da7ce69920b1046be340be054b110a1fc3a37b..67437a25eec2886915150c3b73a950a7b422ae0d 100644 (file)
@@ -196,7 +196,7 @@ int AliHLTDataBuffer::Subscribe(const AliHLTComponent* pConsumer, AliHLTComponen
            segment++;
          }
          // check whether there was enough space for the segments
-         if (i!=tgtList.size()) {
+         if (i!=(int)tgtList.size()) {
            HLTError("too little space in block descriptor array: required %d, available %d", tgtList.size(), iArraySize);
            iResult=-ENOSPC;
          } else {
index d412ff9f0f2a8799de18a01b7561312e5631520b..31fee56bca3c6fd1fc54d4b2f465674a5170e8c6 100644 (file)
@@ -82,7 +82,7 @@ int AliHLTDataSink::DoProcessing( const AliHLTComponentEventData& evtData,
 }
 
 int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData,
-                              const AliHLTComponentBlockData* blocks
+                              const AliHLTComponentBlockData* /*blocks*/
                               AliHLTComponentTriggerData& trigData )
 {
   // we just forward to the high level method, all other parameters already
@@ -90,7 +90,7 @@ int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData,
   return DumpEvent(evtData, trigData);
 }
 
-int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
 {
   HLTFatal("no processing method implemented");
   return -ENOSYS;
index 2ede4cd37f0f6d2565ba004dfe2c71b078821c06..dff1d5774975df8102aba0ecd1588086dc3f1328 100644 (file)
@@ -74,17 +74,17 @@ int AliHLTDataSource::DoProcessing( const AliHLTComponentEventData& evtData,
 }
 
 int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData,
-                                  AliHLTComponentTriggerData& trigData,
-                                  AliHLTUInt8_t* outputPtr
-                                  AliHLTUInt32_t& size,
-                                  vector<AliHLTComponentBlockData>& outputBlocks )
+                               AliHLTComponentTriggerData& trigData,
+                               AliHLTUInt8_t* /*outputPtr*/
+                               AliHLTUInt32_t& /*size*/,
+                               vector<AliHLTComponentBlockData>& /*outputBlocks*/ )
 {
   // we just forward to the high level method, all other parameters already
   // have been stored internally
   return GetEvent(evtData, trigData);
 }
 
-int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
 {
   HLTFatal("no processing method implemented");
   return -ENOSYS;
index 9fd25ce60ca950452475b0d4a5f2929796218e1f..5c41882a463018a19869aac3f92fbbb00860413a 100644 (file)
@@ -109,7 +109,7 @@ int AliHLTMemoryFile::Close(int bFlush)
   return -fErrno;
 }
 
-Int_t    AliHLTMemoryFile::SysOpen(const char *pathname, Int_t flags, UInt_t mode)
+Int_t    AliHLTMemoryFile::SysOpen(const char* /*pathname*/, Int_t /*flags*/, UInt_t /*mode*/)
 {
   // see header file for function documentation
   if (fpBuffer==NULL || fSize==0) return 1;
@@ -119,14 +119,14 @@ Int_t    AliHLTMemoryFile::SysOpen(const char *pathname, Int_t flags, UInt_t mod
   return -1;
 }
 
-Int_t    AliHLTMemoryFile::SysClose(Int_t fd)
+Int_t    AliHLTMemoryFile::SysClose(Int_t /*fd*/)
 {
   // see header file for function documentation
   //HLTDebug("closing file %p size %d", this, fSize);
   return 0;
 }
 
-Int_t    AliHLTMemoryFile::SysRead(Int_t fd, void *buf, Int_t len)
+Int_t    AliHLTMemoryFile::SysRead(Int_t /*fd*/, void *buf, Int_t len)
 {
   // see header file for function documentation
   if (buf==NULL) return 0;
@@ -140,7 +140,7 @@ Int_t    AliHLTMemoryFile::SysRead(Int_t fd, void *buf, Int_t len)
   return read;
 }
 
-Int_t    AliHLTMemoryFile::SysWrite(Int_t fd, const void *buf, Int_t len)
+Int_t    AliHLTMemoryFile::SysWrite(Int_t /*fd*/, const void *buf, Int_t len)
 {
   // see header file for function documentation
   if (buf==NULL) return 0;
@@ -156,7 +156,7 @@ Int_t    AliHLTMemoryFile::SysWrite(Int_t fd, const void *buf, Int_t len)
   return -1;
 }
 
-Long64_t AliHLTMemoryFile::SysSeek(Int_t fd, Long64_t offset, Int_t whence)
+Long64_t AliHLTMemoryFile::SysSeek(Int_t /*fd*/, Long64_t offset, Int_t whence)
 {
   // see header file for function documentation
   //HLTDebug("seek %d from %d", offset, whence);
@@ -186,14 +186,14 @@ Long64_t AliHLTMemoryFile::SysSeek(Int_t fd, Long64_t offset, Int_t whence)
   return position;
 }
 
-Int_t    AliHLTMemoryFile::SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
+Int_t    AliHLTMemoryFile::SysStat(Int_t /*fd*/, Long_t */*id*/, Long64_t *size, Long_t */*flags*/, Long_t */*modtime*/)
 {
   // see header file for function documentation
   if (size) *size=fSize;
   return 0;
 }
 
-Int_t    AliHLTMemoryFile::SysSync(Int_t fd)
+Int_t    AliHLTMemoryFile::SysSync(Int_t /*fd*/)
 {
   // see header file for function documentation
   return 0;
index 6f7632bfc5a8aa27e802f8968da65e9da0b7f16a..59058e52df626407e8786e36771528ae48757051 100644 (file)
@@ -90,7 +90,7 @@ AliRawReader* AliHLTOfflineInterface::GetRawReader() const
   return fpRawReader!=NULL?fpRawReader:fgpRawReader;
 }
 
-int AliHLTOfflineInterface::SetESD(Int_t eventNo, AliESDEvent* pESD)
+int AliHLTOfflineInterface::SetESD(Int_t /*eventNo*/, AliESDEvent* pESD)
 {
   fpESD=pESD;
   return 0;
index 4fd1d94703fe7ba17b4d26f888b31c1d0d9fb3f4..0221f56e25d7e7d5793e5b3e3c20009118546098 100644 (file)
@@ -76,18 +76,18 @@ int AliHLTProcessor::DoProcessing( const AliHLTComponentEventData& evtData, cons
 }
 
 int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData,
-              const AliHLTComponentBlockData* blocks
-              AliHLTComponentTriggerData& trigData,
-              AliHLTUInt8_t* outputPtr
-              AliHLTUInt32_t& size,
-              vector<AliHLTComponentBlockData>& outputBlocks )
+                             const AliHLTComponentBlockData* /*blocks*/
+                             AliHLTComponentTriggerData& trigData,
+                             AliHLTUInt8_t* /*outputPtr*/
+                             AliHLTUInt32_t& /*size*/,
+                             vector<AliHLTComponentBlockData>& /*outputBlocks*/ )
 {
   // we just forward to the high level method, all other parameters already
   // have been stored internally
   return DoEvent(evtData, trigData);
 }
 
-int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
 {
   HLTFatal("no processing method implemented");
   return -ENOSYS;
index 3442bae28b521b3e71da4521813c22b339b68608..3b925ff8cb9aee5ab2b1736b93e3e8b17430b5ff 100644 (file)
@@ -46,7 +46,7 @@ AliHLTAgentUtil::~AliHLTAgentUtil()
 }
 
 int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* handler,
-                                         AliRunLoader* runloader) const
+                                         AliRunLoader* /*runloader*/) const
 {
   // see header file for class documentation
   if (handler) {
@@ -54,7 +54,7 @@ int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* handler,
   return 0;
 }
 
-const char* AliHLTAgentUtil::GetLocalRecConfigurations(AliRunLoader* runloader) const
+const char* AliHLTAgentUtil::GetLocalRecConfigurations(AliRunLoader* /*runloader*/) const
 {
   // see header file for class documentation
   return NULL;
index e7ba3063a37e34df1e71c567fbbd1d57e57a616a..50e770c7a887961ccc808fcfbf161bf4e3f886d7 100644 (file)
@@ -31,7 +31,7 @@
 /**
  * Notification callback for AliRoot logging methods
  */
-void LogNotification(AliLog::EType_t level, const char* message)
+void LogNotification(AliLog::EType_t /*level*/, const char* /*message*/)
 {
   // Notification callback for AliRoot logging methods
 
index f9d22cb5d05656612e48daf1a714cd1fe11955d3..9b143b94f5e7a793c3071d500bfac567c7c4e957 100644 (file)
@@ -210,8 +210,8 @@ int AliHLTLoaderPublisherComponent::DoDeinit()
   return iResult;
 }
 
-int AliHLTLoaderPublisherComponent::GetEvent(const AliHLTComponentEventData& evtData,
-                                                AliHLTComponentTriggerData& trigData)
+int AliHLTLoaderPublisherComponent::GetEvent(const AliHLTComponentEventData& /*evtData*/,
+                                            AliHLTComponentTriggerData& /*trigData*/)
 {
   // see header file for class documentation
   int iResult=0;
index de39881e2d5ee829416ea3e97042c26db9e36613..09b1551cdc9331604e69794928d784bd9b9a30d6 100644 (file)
@@ -130,7 +130,7 @@ int AliHLTRootFileStreamerComponent::DoInit( int argc, const char** argv )
   return iResult;
 }
 
-int AliHLTRootFileStreamerComponent::DoEvent( const AliHLTComponentEventData& evtData,
+int AliHLTRootFileStreamerComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/,
                                            AliHLTComponentTriggerData& /*trigData*/ )
 {
   // see header file for class documentation
index 5d1abd527482a0f576328c4b2fd19b7d504e8655..4b1afe4f1dd3ccd988720d10ec68ebc73eebbb55 100644 (file)
@@ -46,7 +46,7 @@ AliHLTTPCAgent::~AliHLTTPCAgent()
 }
 
 int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
-                                         AliRunLoader* runloader) const
+                                        AliRunLoader* /*runloader*/) const
 {
   // see header file for class documentation
   if (handler) {
@@ -94,7 +94,7 @@ int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
   return 0;
 }
 
-const char* AliHLTTPCAgent::GetLocalRecConfigurations(AliRunLoader* runloader) const
+const char* AliHLTTPCAgent::GetLocalRecConfigurations(AliRunLoader* /*runloader*/) const
 {
   // see header file for class documentation
   return NULL;
index 5a755c0f9b043e10f1ac45da5aa4bb7f3b12778b..1d89d0b3de823ad9bbb7b5d5092fc08302d5b335 100644 (file)
@@ -50,11 +50,11 @@ AliHLTTPCDigitReaderRaw::AliHLTTPCDigitReaderRaw( unsigned formatVersion )
   fAltroBlock10BitWordCnt(0),
   fAltroBlock10BitFillWordCnt(0),
   fDataFormatVersion(formatVersion),
-  fVerify(false),
   fBunchPosition(0xFFFFU),
   fBunchTimebinStart(~0U),
   fBunchLength(0),
   fWordInBunch((unsigned)-1),
+  fVerify(false),
   
   fCurrentRow(0),
   fCurrentPad(0),
@@ -105,84 +105,6 @@ AliHLTTPCDigitReaderRaw::AliHLTTPCDigitReaderRaw( unsigned formatVersion )
       }
 }
 
-AliHLTTPCDigitReaderRaw::AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src)
-  :
-  fBuffer(NULL),
-  fBufferSize(0),
-  fPatch(-1),
-  fSlice(-1),
-  fRow(-1),
-  fPad(-1),
-  fAltroBlockPositionBytes(0),
-  fAltroBlockLengthBytes(0),
-  fAltroBlockHWAddress(0),
-  fAltroBlock10BitWordCnt(0),
-  fAltroBlock10BitFillWordCnt(0),
-  fDataFormatVersion(src.fDataFormatVersion),
-  fVerify(false),
-  fBunchPosition(0xFFFFU),
-  fBunchTimebinStart(~0U),
-  fBunchLength(0),
-  fWordInBunch((unsigned)-1),
-  
-  fCurrentRow(0),
-  fCurrentPad(0),
-  fCurrentBin(-1),
-  fRowOffset(0),
-  fNRows(0),
-  fNMaxRows(0),
-  fNMaxPads(0),
-  fNTimeBins(0),
-  fData(NULL),
-  fMapErrThrown(0)
-{
-  // see header file for class documentation
-#ifndef HAVE_TPC_MAPPING
-  memset(fgMapping0, 0, fgkMapping0Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping1, 0, fgkMapping1Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping2, 0, fgkMapping2Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping3, 0, fgkMapping3Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping4, 0, fgkMapping4Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping5, 0, fgkMapping5Size*fgkMappingDimension*sizeof(Int_t));
-#endif //#ifndef HAVE_TPC_MAPPING
-  HLTFatal("copy constructor not for use");
-}
-
-AliHLTTPCDigitReaderRaw& AliHLTTPCDigitReaderRaw::operator=(const AliHLTTPCDigitReaderRaw& src)
-{
-  // see header file for class documentation
-#ifndef HAVE_TPC_MAPPING
-  memset(fgMapping0, 0, fgkMapping0Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping1, 0, fgkMapping1Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping2, 0, fgkMapping2Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping3, 0, fgkMapping3Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping4, 0, fgkMapping4Size*fgkMappingDimension*sizeof(Int_t));
-  memset(fgMapping5, 0, fgkMapping5Size*fgkMappingDimension*sizeof(Int_t));
-#endif //#ifndef HAVE_TPC_MAPPING
-  fBuffer=NULL;
-  fBufferSize=0;
-  fPatch=-1;
-  fSlice=-1;
-  fRow=-1;
-  fPad=-1;
-  fDataFormatVersion=src.fDataFormatVersion;
-  fCurrentRow=0;
-  fCurrentPad=0;
-  fCurrentBin=-1;
-  fVerify=false;
-  
-  // For sorting
-  fNRows=0;
-  fRowOffset=0;
-  fNMaxRows=0;
-  fNMaxPads=0;
-  fNTimeBins=0;
-  fData=NULL;
-  fMapErrThrown=0;
-  HLTFatal("assignment operator not for use");
-  return (*this);
-}
-
 AliHLTTPCDigitReaderRaw::~AliHLTTPCDigitReaderRaw()
 {
   // see header file for class documentation
index 6dd5d4e5535bbe30eea5ddc217679ba49f5936e9..7f5b042d253b092cf5c7dc2d8dad6a69e0868c3a 100644 (file)
@@ -66,10 +66,6 @@ public:
    *  - 5: As 1, but RCU trailer is 2 32 bit words.
    */
   AliHLTTPCDigitReaderRaw( unsigned formatVersion );
-  /** not a valid copy constructor, defined according to effective C++ style */
-  AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src);
-  /** not a valid assignment op, but defined according to effective C++ style */
-  AliHLTTPCDigitReaderRaw& operator=(const AliHLTTPCDigitReaderRaw& src);
   /** destructor */
   virtual ~AliHLTTPCDigitReaderRaw();
     
@@ -250,6 +246,10 @@ protected:
   bool fVerify;                                                    // see above
 
 private:
+  /** copy constructor prohibited */
+  AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src);
+  /** assignment operator prohibited */
+  AliHLTTPCDigitReaderRaw& operator=(const AliHLTTPCDigitReaderRaw& src);
   /** number of patches */ 
   static const Int_t fgkNofPatches=6;                              // see above
   /** dimension of each mapping array */ 
index 1bbd1c90e88ecd8326ddfea19a032fe069223948..4a155895d1a77da6efebf5c3251074a1eb2a7d67 100644 (file)
@@ -450,7 +450,7 @@ AliHLTTPCDigitRowData * AliHLTTPCFileHandler::AliDigits2Memory(UInt_t & nrow,Int
     LOG(AliHLTTPCLog::kWarning,"AliHLTTPCFileHandler::AliDigits2Memory","ndigits")
       <<"No TPC digits (entries==0)!"<<ENDLOG;
     nrow = (UInt_t)(fRowMax-fRowMin+1);
-    Int_t size = nrow*sizeof(AliHLTTPCDigitRowData);
+    UInt_t size = nrow*sizeof(AliHLTTPCDigitRowData);
     if (tgtBuffer!=NULL && pTgtSize!=NULL && *pTgtSize>0) {
       if (size<=*pTgtSize) {
        data=reinterpret_cast<AliHLTTPCDigitRowData*>(tgtBuffer);
@@ -516,7 +516,7 @@ AliHLTTPCDigitRowData * AliHLTTPCFileHandler::AliDigits2Memory(UInt_t & nrow,Int
     nrows++;
   }
 
-  Int_t size = sizeof(AliHLTTPCDigitData)*ndigitcount
+  UInt_t size = sizeof(AliHLTTPCDigitData)*ndigitcount
     + nrows*sizeof(AliHLTTPCDigitRowData);
 
   LOG(AliHLTTPCLog::kDebug,"AliHLTTPCFileHandler::AliDigits2Memory","Digits")
index f1bc64de7f727bed1f8d67f3d5e441ac885ec2ca..955fe387d8968d3d0b46498634d24e6227d7fae0 100644 (file)
@@ -57,23 +57,6 @@ AliHLTTPCFitter::AliHLTTPCFitter()
   memset(fNcl,0,36*6*sizeof(UInt_t));
 }
 
-AliHLTTPCFitter::AliHLTTPCFitter(const AliHLTTPCFitter& src)
-  :
-  fTrack(NULL),
-  fVertex(NULL),
-  fVertexConstraint(0)
-{
-  // dummy copy constructor according to eff C++
-  memset(fClusters,0,36*6*sizeof(AliHLTTPCSpacePointData*));
-  memset(fNcl,0,36*6*sizeof(UInt_t));
-}
-
-AliHLTTPCFitter& AliHLTTPCFitter::operator=(const AliHLTTPCFitter& src)
-{ 
-  // dummy assignment operator according to eff C++
-  return *this;
-}
-
 AliHLTTPCFitter::AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint)
   :
   fTrack(NULL),
index 8ece9c8381e80bfe63ef1bf0966da37bd256fe12..79d90e1c5b063d6ae4987b3aa1e2aa417c53798f 100644 (file)
@@ -24,10 +24,6 @@ class AliHLTTPCFitter {
 
   public:
   AliHLTTPCFitter();
-  /** not a valid copy constructor, defined according to effective C++ style */
-  AliHLTTPCFitter(const AliHLTTPCFitter& src);
-  /** not a valid assignment op, but defined according to effective C++ style */
-  AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
   AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
   virtual ~AliHLTTPCFitter();
   
@@ -39,6 +35,11 @@ class AliHLTTPCFitter {
   void NoVertex() {fVertexConstraint=kFALSE;}
  
  private:
+  /** copy constructor prohibited */
+  AliHLTTPCFitter(const AliHLTTPCFitter& src);
+  /** assignment operator prohibited */
+  AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
+
   AliHLTTPCTrack *fTrack; //!                    actual track
   AliHLTTPCVertex *fVertex; //!                  vertex info
   Bool_t fVertexConstraint; //               include vertex constraint
index 9f69b913c3bcc8bd25f67a47861a017e2e3f238a..29b92f5e788d0ec105940ed7dc557b284437c0ec 100644 (file)
@@ -523,7 +523,7 @@ Bool_t AliHLTTPCMemHandler::Binary2Memory(UInt_t & nrow,AliHLTTPCDigitRowData *d
   rewind(fInBinary);
   AliHLTTPCDigitRowData *rowPt = data;
   UInt_t rowcount = 0;
-  Int_t outsize =0;
+  UInt_t outsize =0;
   while(!feof(fInBinary)){
     Byte_t  *bytePt =(Byte_t *) rowPt;
 
@@ -537,7 +537,7 @@ Bool_t AliHLTTPCMemHandler::Binary2Memory(UInt_t & nrow,AliHLTTPCDigitRowData *d
     bytePt += sizeof(AliHLTTPCDigitRowData);
     outsize += sizeof(AliHLTTPCDigitRowData);
 
-    Int_t size = sizeof(AliHLTTPCDigitData) * rowPt->fNDigit;
+    UInt_t size = sizeof(AliHLTTPCDigitData) * rowPt->fNDigit;
 
     if (sz<outsize+size) {
       LOG(AliHLTTPCLog::kFatal,"AliHLTTPCMemHandler::Binary2Memory","Memory")