Fix Convert::ToLong(double val)

(cherry picked from commit b58cb17e4b)
This commit is contained in:
Michael Friedrich 2019-01-30 14:47:59 +01:00
parent b93ad277a1
commit 4fb444d3b7
1 changed files with 5 additions and 0 deletions

View File

@ -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;