Necessary Maintenance #12367
Merge namespaces lar::utils and lar::util
Replaced lar::utils namespace with lar::util .
This is related to issue #12367. This instance was either missed or ignored on the previous survey.
#2 Updated by Gianluca Petrillo over 4 years ago
- % Done changed from 0 to 80
I have moved the functions from
For this first phase,
lar::utils namespace still exists, with functions and types which are aliases of the ones now in
lar::util. These "alias" functions are deprecated and using them will have the compiler emit a deprecation warning:
warning: ‘auto lar::utils::TrackPitchInView(const recob::Track&, geo::View_t, size_t)’ is deprecated (declared at [...]/srcs/lardata/lardata/RecoBaseArt/TrackUtils.h:66): use lar::util namespace instead [-Wdeprecated-declarations]
These functions will be removed after a grace period.
feature/gp_Issue12367 have been published for the LArSoft repositories
larana; and for the experiment repositories
Using these branches, no deprecation warnings about
lar::utils should be emitted.
#4 Updated by Gianluca Petrillo over 4 years ago
- Status changed from Assigned to Resolved
- % Done changed from 80 to 100
Removal of the deprecated namespace was accepted at LArSoft coordination meeting on November 8, 2016 .
Residual changes have been pushed to
develop branches of
lardataobj (the latter two only cosmetic).
lardata contains the final removal, which is scheduled for integration on the next LArSoft release.