fix pedantic warnings
This commit is contained in:
@@ -203,7 +203,7 @@ int tessGetElementCount( TESStesselator *tess );
|
||||
const TESSindex* tessGetElements( TESStesselator *tess );
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // TESSELATOR_H
|
||||
|
||||
@@ -26,7 +26,7 @@ inline T dist(const S1& a, const S2& b) {
|
||||
T dy = b.y - a.y;
|
||||
T c = sqrt(dx * dx + dy * dy);
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -437,7 +437,7 @@ Int128 Int128Mul (cInt lhs, cInt rhs)
|
||||
if (tmp.lo < b) tmp.hi++;
|
||||
if (negate) tmp = -tmp;
|
||||
return tmp;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -306,7 +306,7 @@ bool Map::findLoadedChildren(const Tile::ID& id, int32_t maxCoveringZoom, std::f
|
||||
}
|
||||
}
|
||||
return complete;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Find a loaded parent of the given tile.
|
||||
@@ -327,7 +327,7 @@ bool Map::findLoadedParent(const Tile::ID& id, int32_t minCoveringZoom, std::for
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
bool Map::updateTiles() {
|
||||
|
||||
Reference in New Issue
Block a user