mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Changing '--rate' option to type float, remove stringstream from argument scan
This correction to the previous commit leaves the <sstream> header in, because std::stringstream has been using already before and the header was missing.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
9b2b1cf9f1
commit
2a134b9206
@@ -336,7 +336,7 @@ void FairMQProgOptions::FillOptionDescription(boost::program_options::options_de
|
||||
("print-channels", po::value<bool >()->implicit_value(true), "Print registered channel endpoints in a machine-readable format (<channel name>:<min num subchannels>:<max num subchannels>)")
|
||||
("shm-segment-size", po::value<size_t>()->default_value(2000000000), "shmem transport: size of the shared memory segment (in bytes).")
|
||||
("shm-segment-name", po::value<string>()->default_value("fairmq_shmem_main"), "shmem transport: name of the shared memory segment.")
|
||||
("rate", po::value<string>()->default_value(""), "rate for conditional run loop (Hz)")
|
||||
("rate", po::value<float>()->default_value(0.), "rate for conditional run loop (Hz)")
|
||||
;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user