mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fix Convert::ToLong(double val)
This commit is contained in:
parent
b1362aeb9b
commit
b58cb17e4b
@ -64,6 +64,11 @@ public:
|
||||
return val;
|
||||
}
|
||||
|
||||
static long ToLong(double val)
|
||||
{
|
||||
return static_cast<long>(val);
|
||||
}
|
||||
|
||||
static double ToDouble(const Value& val)
|
||||
{
|
||||
return val;
|
||||
|
Loading…
x
Reference in New Issue
Block a user