Warnings fixes for VS.

This commit is contained in:
Robert Osfield
2009-02-02 20:35:19 +00:00
parent 965b7ddc72
commit 1153ea5feb
20 changed files with 155 additions and 11 deletions

View File

@@ -920,6 +920,10 @@ struct ActivateTransparencyOnType
}
const std::type_info& _t;
protected:
ActivateTransparencyOnType& operator = (const ActivateTransparencyOnType&) { return *this; }
};
struct DeactivateTransparencyOnType
@@ -938,6 +942,10 @@ struct DeactivateTransparencyOnType
}
const std::type_info& _t;
protected:
DeactivateTransparencyOnType& operator = (const DeactivateTransparencyOnType&) { return *this; }
};
void SphereSegment::setSurfaceColor(const osg::Vec4& c)
@@ -1190,6 +1198,10 @@ namespace SphereSegmentIntersector
}
VertexArray& _vertices;
protected:
SortFunctor& operator = (const SortFunctor&) { return *this; }
};
@@ -2600,6 +2612,10 @@ namespace SphereSegmentIntersector
{
return _lowerOutside ? _plane.distance(v) : -_plane.distance(v) ;
}
protected:
AzimPlaneIntersector& operator = (const AzimPlaneIntersector&) { return *this; }
};
struct ElevationIntersector
@@ -2737,6 +2753,10 @@ namespace SphereSegmentIntersector
return _lowerOutside ? computedElev-_elev : _elev-computedElev ;
}
protected:
ElevationIntersector& operator = (const ElevationIntersector&) { return *this; }
};
@@ -2864,6 +2884,10 @@ namespace SphereSegmentIntersector
}
protected:
RadiusIntersector& operator = (const RadiusIntersector&) { return *this; }
};
}