We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[=, this]
[&]
1 parent 533aea1 commit 6bfac70Copy full SHA for 6bfac70
src/algorithms/digi/MPGDTrackerDigi.cc
@@ -153,15 +153,15 @@ void MPGDTrackerDigi::init() {
153
}
154
155
// Ordering of SUBVOLUMES (based on "STRIP" FIELD)
156
- m_stripRank = [=, this](CellID vID) {
+ m_stripRank = [&](CellID vID) {
157
int rank;
158
CellID sID = vID & m_stripBits;
159
for (rank = 0; rank < 5; rank++)
160
if (sID == m_stripIDs[rank])
161
return rank;
162
return -1;
163
};
164
- m_orientation = [=, this](CellID vID, CellID vJD) {
+ m_orientation = [&](CellID vID, CellID vJD) {
165
int ranki = m_stripRank(vID), rankj = m_stripRank(vJD);
166
if (rankj > ranki)
167
return +1;
0 commit comments