Remove unnecessary long/StatusCode conversions
In preparation for a larger re-design of StatusCode clean up a few places where the code unnecessarily relies on an implicit long type-conversion. In detail: - ObjectVector::remove: Return the index of the deleted object as documented in the base class. Before it always returned 1 - RegistryEntry: Change return type of some methods from long to StautsCode - IODataManager: Get rid of the S_OK/S_ERROR enum alias as this relies on the actual type of the StatusCode enums - RootDataConnection: Change return type of setCompression from long to StatusCode
Showing
- GaudiHive/src/AlgResourcePool.cpp 3 additions, 2 deletionsGaudiHive/src/AlgResourcePool.cpp
- GaudiKernel/GaudiKernel/ObjectVector.h 3 additions, 2 deletionsGaudiKernel/GaudiKernel/ObjectVector.h
- GaudiKernel/GaudiKernel/RegistryEntry.h 4 additions, 4 deletionsGaudiKernel/GaudiKernel/RegistryEntry.h
- GaudiKernel/src/Lib/RegistryEntry.cpp 6 additions, 6 deletionsGaudiKernel/src/Lib/RegistryEntry.cpp
- GaudiUtils/src/component/IODataManager.cpp 12 additions, 14 deletionsGaudiUtils/src/component/IODataManager.cpp
- RootCnv/RootCnv/RootDataConnection.h 1 addition, 1 deletionRootCnv/RootCnv/RootDataConnection.h
- RootCnv/src/RootDataConnection.cpp 3 additions, 3 deletionsRootCnv/src/RootDataConnection.cpp
Loading
Please register or sign in to comment