Skip to content

Commit ae2a460

Browse files
committed
Removed unnecessary cast
1 parent 7f666ba commit ae2a460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void Detector::configFromFile(std::string fileName)
181181
while (getline(ss, substr, '\t')) {
182182
tmpBuff.push_back(std::stof(substr));
183183
}
184-
mLayers.emplace_back(layerCount, std::string{GeometryTGeo::getTRKLayerPattern() + std::to_string(layerCount)}, tmpBuff[0], tmpBuff[1], tmpBuff[2]);
184+
mLayers.emplace_back(layerCount, GeometryTGeo::getTRKLayerPattern() + std::to_string(layerCount), tmpBuff[0], tmpBuff[1], tmpBuff[2]);
185185
++layerCount;
186186
}
187187
}

0 commit comments

Comments
 (0)