From Gideon May, fixes to remain const base type instances in headers.

This commit is contained in:
Robert Osfield
2002-10-25 12:29:03 +00:00
parent 18d99c06e4
commit 55b2a5ff30
7 changed files with 21 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ class SG_EXPORT FrontFace : public StateAttribute
COUNTER_CLOCKWISE = GL_CCW
};
inline void setMode(const Mode mode) { _mode = mode; }
inline void setMode(Mode mode) { _mode = mode; }
inline const Mode getMode() const { return _mode; }
virtual void apply(State& state) const;