Skip to content
Snippets Groups Projects
Commit 421b4424 authored by Scott Snyder's avatar Scott Snyder Committed by Tadej Novak
Browse files

ActsTrkEvent: Fix compilation with clang15.

ActsTrkEvent: Fix compilation with clang15.

Missing template keywords.
parent 115629ba
No related branches found
No related tags found
2 merge requests!59383cppcheck in trigger code: Prefer prefix ++/-- operators for non-primitive types.,!59039ActsTrkEvent: Fix compilation with clang15.
......@@ -171,11 +171,11 @@ namespace ActsTrk {
*/
template<std::size_t measdim>
inline typename ConstTrackStateProxy::Measurement<measdim> measurement_impl(IndexType index) const {
inline typename ConstTrackStateProxy::template Measurement<measdim> measurement_impl(IndexType index) const {
return trackMeasurements().at(index)->template measEigen<measdim>();
}
template<std::size_t measdim, bool Enable = true>
std::enable_if_t<Enable && (RWState==IsReadWrite), typename TrackStateProxy::Measurement<measdim>>
std::enable_if_t<Enable && (RWState==IsReadWrite), typename TrackStateProxy::template Measurement<measdim>>
measurement_impl(IndexType index) {
return trackMeasurements().at(index)->template measEigen<measdim>();
}
......@@ -187,11 +187,11 @@ namespace ActsTrk {
*/
template<std::size_t measdim>
inline typename ConstTrackStateProxy::MeasurementCovariance<measdim> measurementCovariance_impl(IndexType index) const {
inline typename ConstTrackStateProxy::template MeasurementCovariance<measdim> measurementCovariance_impl(IndexType index) const {
return trackMeasurements().at(index)->template covMatrixEigen<measdim>();
}
template<std::size_t measdim, bool Enable = true>
std::enable_if_t<Enable && (RWState==IsReadWrite), typename TrackStateProxy::MeasurementCovariance<measdim>>
std::enable_if_t<Enable && (RWState==IsReadWrite), typename TrackStateProxy::template MeasurementCovariance<measdim>>
measurementCovariance_impl(IndexType index) {
return trackMeasurements().at(index)->template covMatrixEigen<measdim>();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment