Skip to content

Commit 6f83e43

Browse files
committed
C++20 fixes
1 parent f2fdcac commit 6f83e43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/MUON/MCH/Raw/Decoder/src/UserLogicEndpointDecoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ size_t UserLogicEndpointDecoder<CHARGESUM, VERSION>::append(Payload buffer)
158158
}
159159

160160
mElinkDecoders.emplace(static_cast<uint16_t>(gbt),
161-
impl::makeArray<40>([=](size_t i) {
161+
impl::makeArray<40>([solarId, *this](size_t i) {
162162
DsElecId dselec{solarId.value(), static_cast<uint8_t>(i / 5), static_cast<uint8_t>(i % 5)};
163163
return ElinkDecoder(dselec, mDecodedDataHandlers);
164164
}));

0 commit comments

Comments
 (0)