From Hartwig Wiesmann, "in the files Image, Observer and TerrainTechnique unused parameters exist resulting in a couple of compiler warnings (depending on the compiler settings though).

The attached patches comment out the unused parameter names.
"
This commit is contained in:
Robert Osfield
2010-11-25 12:07:59 +00:00
parent 509980d515
commit 4b4e02e45b
3 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ class OSGTERRAIN_EXPORT TerrainNeighbours
protected:
TerrainNeighbours(const TerrainNeighbours& tn) {}
TerrainNeighbours& operator = (const TerrainNeighbours& rhs) { return *this; }
TerrainNeighbours(const TerrainNeighbours& /*tn*/) {}
TerrainNeighbours& operator = (const TerrainNeighbours& /*rhs*/) { return *this; }
typedef std::set<TerrainTile*> Neighbours;