Remove workarounds for bad GCC-4 warnings

(cherry picked from commit 514f90c9ff)
This commit is contained in:
Arthur
2022-03-16 00:08:16 +00:00
committed by Antonio Sanchez
parent b158fcaa74
commit fab848d4f7
3 changed files with 5 additions and 16 deletions

View File

@@ -696,8 +696,7 @@ struct has_binary_operator
template<int Y,
int InfX = 0,
int SupX = ((Y==1) ? 1 : Y/2),
bool Done = ((SupX-InfX)<=1 ? true : ((SupX*SupX <= Y) && ((SupX+1)*(SupX+1) > Y))) >
// use ?: instead of || just to shut up a stupid gcc 4.3 warning
bool Done = ((SupX - InfX) <= 1 || ((SupX * SupX <= Y) && ((SupX + 1) * (SupX + 1) > Y)))>
class meta_sqrt
{
enum {