aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-02 00:56:32 +0000
committerGravatar Sadie Powell2025-03-02 00:56:32 +0000
commit4200eee5d92880205fc1feecd5d38dab2444e162 (patch)
treedbb594dc41548983307cb7a7cf864abf8067fc27
parentFix some inappropriate uses of ConvToNum. (diff)
Fix a compiler error in helperfuncs.
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index eaacee665..a43c4d9dd 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -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;
}