mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
added missing const
This commit is contained in:
parent
4bff894782
commit
b52a8d2d61
@ -1163,7 +1163,7 @@ void Detector::setCounterBit(bool value, Positions pos) {
|
||||
|
||||
Result<std::vector<defs::ROI>> Detector::getROI(Positions pos) const {
|
||||
//vector holding module_id for the modules that should be read
|
||||
std::vector<int> id_vec = [&]() {
|
||||
const std::vector<int> id_vec = [&]() {
|
||||
if (pos.empty() || (pos.size() == 1 && pos[0] == -1)){
|
||||
std::vector<int> tmp;
|
||||
for(size_t i=0; i!= pimpl->size(); ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user