mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-03 01:54:13 +02:00
formatting
This commit is contained in:
@@ -488,7 +488,8 @@ void DetectorImpl::setTransmissionDelay(int step) {
|
||||
"Transmission delay is not implemented for the this detector.");
|
||||
}
|
||||
|
||||
//using a asyc+future directly (instead of Parallel) to pass different values
|
||||
// using a asyc+future directly (instead of Parallel) to pass different
|
||||
// values
|
||||
std::vector<std::future<void>> futures;
|
||||
for (int i = 0; i != size(); ++i) {
|
||||
if (eiger) {
|
||||
@@ -509,7 +510,7 @@ void DetectorImpl::setTransmissionDelay(int step) {
|
||||
}
|
||||
}
|
||||
|
||||
//wait for calls to complete
|
||||
// wait for calls to complete
|
||||
for (auto &f : futures)
|
||||
f.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user