mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Provide a specialized function overload for Convert::ToDouble(const Value&)
This commit is contained in:
parent
c0639c5bca
commit
77b746841a
@ -59,6 +59,11 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline double ToDouble(const Value& val)
|
||||||
|
{
|
||||||
|
return val;
|
||||||
|
}
|
||||||
|
|
||||||
static bool ToBool(const String& val);
|
static bool ToBool(const String& val);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user