mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-21 16:57:58 +02:00
Fix Convert::ToLong(double val)
(cherry picked from commit b58cb17e4b389c6bd703e2334cb0bb2739213f62)
This commit is contained in:
parent
b93ad277a1
commit
4fb444d3b7
@ -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