shadowing variables

This commit is contained in:
Erik Frojdh
2019-04-05 17:01:29 +02:00
parent cbacf471d6
commit 33f726ff7e
6 changed files with 73 additions and 75 deletions

View File

@ -106,8 +106,8 @@ TEST_CASE("Set ROI", "[detector]") {
slsDetector d(slsDetectorDefs::detectorType::EIGER, 0, 0);
int n{0};
auto res = d.getROI(n);
// CHECK(n == 0);
d.getROI(n);
CHECK(n == 0);
CHECK(d.getNRoi() == 0);
// set one ROI