fix pedantic warnings

This commit is contained in:
Konstantin Käfer
2014-03-10 18:47:16 +01:00
parent b7b2812d30
commit 420cb58a5d
4 changed files with 5 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ int tessGetElementCount( TESStesselator *tess );
const TESSindex* tessGetElements( TESStesselator *tess );
#ifdef __cplusplus
};
}
#endif
#endif // TESSELATOR_H

View File

@@ -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;
};
}
}
}

View File

@@ -437,7 +437,7 @@ Int128 Int128Mul (cInt lhs, cInt rhs)
if (tmp.lo < b) tmp.hi++;
if (negate) tmp = -tmp;
return tmp;
};
}
#endif
//------------------------------------------------------------------------------

View File

@@ -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() {