Sebastien Grignard, fixed getMember methods to properly use const type.

This commit is contained in:
Robert Osfield
2005-03-07 14:38:43 +00:00
parent 7bf72cd43b
commit a72845cfc4
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ class SG_EXPORT ClipPlane : public StateAttribute
return 0; // Passed all the above comparison macros, so must be equal.
}
virtual unsigned int getMember() { return _clipPlaneNum; }
virtual unsigned int getMember() const { return _clipPlaneNum; }
virtual bool getModeUsage(ModeUsage& usage) const
{

View File

@@ -67,7 +67,7 @@ class SG_EXPORT Light : public StateAttribute
return 0; // passed all the above comparison macro's, must be equal.
}
virtual unsigned int getMember() { return _lightnum; }
virtual unsigned int getMember() const { return _lightnum; }
virtual bool getModeUsage(ModeUsage& usage) const
{