mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
5d37574d93
commit
556d636618
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue