mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix a compiler error in helperfuncs.
This commit is contained in:
parent
f3aa73d5e1
commit
4200eee5d9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user