Timer::_timeout should be double and it should be allowed to have fractions.

This commit is contained in:
Axel Kohlmeyer
2024-06-29 03:43:26 -04:00
parent 8397738978
commit 246698d3c2
4 changed files with 20 additions and 10 deletions

View File

@ -1677,7 +1677,7 @@ double utils::timespec2seconds(const std::string &timespec)
try {
for (i = 0; i < 3; i++) {
if (!values.has_next()) break;
vals[i] = values.next_int();
vals[i] = values.next_double();
}
} catch (TokenizerException &) {
return -1.0;