mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
refactor(examples): use the property API of ProgOptions
- Replace GetValue<T>() with GetProperty<T>(). All read keys are declared options, so GetProperty<T>() without a default fits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ struct Sampler : fair::mq::Device
|
||||
{
|
||||
void InitTask() override
|
||||
{
|
||||
fIterations = fConfig->GetValue<uint64_t>("iterations");
|
||||
fIterations = fConfig->GetProperty<uint64_t>("iterations");
|
||||
}
|
||||
|
||||
bool ConditionalRun() override
|
||||
|
||||
Reference in New Issue
Block a user