AthenaKernel+StoreGate: Change storeName to std::string_view
Change the `StoreID::storeName` helper to return a `std::string_view` and adjust all handles to accept a `std::string_view` instead of `const std::string&`. This allows the helper function to become `constexpr`. A few explicit `std::string` conversions had to be added for calls that do not support `std::string_view`, i.e. construction of ServiceHandles.
Showing
- Control/AthenaKernel/AthenaKernel/StoreID.h 17 additions, 5 deletionsControl/AthenaKernel/AthenaKernel/StoreID.h
- Control/AthenaKernel/src/StoreID.cxx 1 addition, 20 deletionsControl/AthenaKernel/src/StoreID.cxx
- Control/IOVSvc/src/CondSvc.cxx 4 additions, 2 deletionsControl/IOVSvc/src/CondSvc.cxx
- Control/StoreGate/StoreGate/CondHandleKey.icc 2 additions, 2 deletionsControl/StoreGate/StoreGate/CondHandleKey.icc
- Control/StoreGate/StoreGate/ReadDecorHandleKey.h 2 additions, 2 deletionsControl/StoreGate/StoreGate/ReadDecorHandleKey.h
- Control/StoreGate/StoreGate/ReadDecorHandleKey.icc 2 additions, 2 deletionsControl/StoreGate/StoreGate/ReadDecorHandleKey.icc
- Control/StoreGate/StoreGate/ReadHandle.h 2 additions, 3 deletionsControl/StoreGate/StoreGate/ReadHandle.h
- Control/StoreGate/StoreGate/ReadHandle.icc 2 additions, 3 deletionsControl/StoreGate/StoreGate/ReadHandle.icc
- Control/StoreGate/StoreGate/ReadHandleKey.h 3 additions, 3 deletionsControl/StoreGate/StoreGate/ReadHandleKey.h
- Control/StoreGate/StoreGate/ReadHandleKey.icc 3 additions, 3 deletionsControl/StoreGate/StoreGate/ReadHandleKey.icc
- Control/StoreGate/StoreGate/ThinningHandleKey.h 2 additions, 2 deletionsControl/StoreGate/StoreGate/ThinningHandleKey.h
- Control/StoreGate/StoreGate/ThinningHandleKey.icc 2 additions, 2 deletionsControl/StoreGate/StoreGate/ThinningHandleKey.icc
- Control/StoreGate/StoreGate/TypelessWriteHandleKey.h 2 additions, 2 deletionsControl/StoreGate/StoreGate/TypelessWriteHandleKey.h
- Control/StoreGate/StoreGate/UpdateHandle.h 2 additions, 3 deletionsControl/StoreGate/StoreGate/UpdateHandle.h
- Control/StoreGate/StoreGate/UpdateHandle.icc 2 additions, 3 deletionsControl/StoreGate/StoreGate/UpdateHandle.icc
- Control/StoreGate/StoreGate/UpdateHandleKey.h 2 additions, 2 deletionsControl/StoreGate/StoreGate/UpdateHandleKey.h
- Control/StoreGate/StoreGate/UpdateHandleKey.icc 2 additions, 2 deletionsControl/StoreGate/StoreGate/UpdateHandleKey.icc
- Control/StoreGate/StoreGate/VarHandleBase.h 2 additions, 3 deletionsControl/StoreGate/StoreGate/VarHandleBase.h
- Control/StoreGate/StoreGate/VarHandleKey.h 3 additions, 3 deletionsControl/StoreGate/StoreGate/VarHandleKey.h
- Control/StoreGate/StoreGate/WriteDecorHandleKey.h 2 additions, 2 deletionsControl/StoreGate/StoreGate/WriteDecorHandleKey.h
Loading
Please register or sign in to comment