Fix a compiler error in helperfuncs.

This commit is contained in:
Sadie Powell 2025-03-02 00:56:32 +00:00
parent f3aa73d5e1
commit 4200eee5d9

View File

@ -440,7 +440,7 @@ bool Duration::TryFrom(const std::string& str, unsigned long& duration)
unsigned long Duration::From(const std::string& str)
{
unsigned long out = 0;
Duration::TryFrom(str, out, base);
Duration::TryFrom(str, out);
return out;
}