Revert "nv50/ra: isinf() is in namespace std since C++11."
This reverts commitf525db6358. It was superseeded by commit649704f1f7.
This commit is contained in:
@@ -1327,11 +1327,7 @@ GCRA::simplify()
|
||||
bestScore = score;
|
||||
}
|
||||
}
|
||||
#if __cplusplus >= 201103L
|
||||
if (std::isinf(bestScore)) {
|
||||
#else
|
||||
if (isinf(bestScore)) {
|
||||
#endif
|
||||
ERROR("no viable spill candidates left\n");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user