cleaning the warnings coming from the os side

This commit is contained in:
samcake 2016-02-09 16:27:40 -08:00
parent da158bcd85
commit 8a4e2cb0c5

View file

@ -217,8 +217,8 @@ namespace render {
{} {}
Cell(Index parent, Location loc) : Cell(Index parent, Location loc) :
_location(loc), _links({ { INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, parent, INVALID_CELL } }),
_links({ { INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, INVALID_CELL, parent, INVALID_CELL } }) _location(loc)
{} {}
private: private:
@ -238,8 +238,8 @@ namespace render {
using Bricks = std::vector< Brick >; using Bricks = std::vector< Brick >;
bool checkCellIndex(Index index) const { return (index >= 0) && (index < _cells.size()); } bool checkCellIndex(Index index) const { return (index >= 0) && (index < (Index) _cells.size()); }
bool checkBrickIndex(Index index) const { return ((index >= 0) && (index < _bricks.size())); } bool checkBrickIndex(Index index) const { return ((index >= 0) && (index < (Index) _bricks.size())); }
Octree() {}; Octree() {};