mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-09 01:37:07 +01:00
3
main.cpp
3
main.cpp
@@ -59,8 +59,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (parser.isSet(rateOption)) {
|
||||
bool ok;
|
||||
// Use toDouble just for scientific notation support
|
||||
int rate = parser.value(rateOption).toDouble(&ok);
|
||||
auto rate = parser.value(rateOption).toDouble(&ok);
|
||||
if(!ok) {
|
||||
fputs("ERROR: could not parse rate\n", stderr);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user