Core: Added missing template<> to Polycompare(..double) (thanks kohait)

git-svn-id: svn://ultimatepp.org/upp/trunk@14144 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-03-09 14:56:25 +00:00
parent 5d37574d93
commit 556d636618

View file

@ -74,6 +74,7 @@ inline int PolyCompare(const int64& x, const Value& v) {
: 0;
}
template<>
inline int PolyCompare(const double& x, const Value& v) {
return IsNumber(v) ? SgnCompare((double)x, (double)v) : 0;
}