From 70716c5c0db9562f5063f2fe09b70cc6b0124aaf Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 1 Mar 2025 16:28:47 +0000 Subject: Splat some unfinished code that made it into the previous commit. --- src/helperfuncs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index c81a9fa0f..eaacee665 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -403,7 +403,7 @@ static constexpr unsigned int duration_multi[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; -bool Duration::TryFrom(const std::string& str, unsigned long& duration, time_t base) +bool Duration::TryFrom(const std::string& str, unsigned long& duration) { unsigned long total = 0; unsigned long subtotal = 0; @@ -437,7 +437,7 @@ bool Duration::TryFrom(const std::string& str, unsigned long& duration, time_t b return true; } -unsigned long Duration::From(const std::string& str, time_t base) +unsigned long Duration::From(const std::string& str) { unsigned long out = 0; Duration::TryFrom(str, out, base); -- cgit v1.3.1-10-gc9f91