From 5ae998dbc21ac8b37cfb04b8beeae9025c9b2ed9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 11 Mar 2003 21:42:55 +0000 Subject: [PATCH] Added missing osg:: to StateAttribute. --- include/osgText/Font | 2 +- src/osgText/Font.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgText/Font b/include/osgText/Font index 5cda9d13b..4283dc946 100644 --- a/include/osgText/Font +++ b/include/osgText/Font @@ -174,7 +174,7 @@ public: GlyphTexture(); /** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/ - virtual int compare(const StateAttribute& rhs) const; + virtual int compare(const osg::StateAttribute& rhs) const; void setStateSet(osg::StateSet* stateset) { _stateset = stateset; } osg::StateSet* getStateSet() { return _stateset; } diff --git a/src/osgText/Font.cpp b/src/osgText/Font.cpp index cc9b54c2c..247668b3d 100644 --- a/src/osgText/Font.cpp +++ b/src/osgText/Font.cpp @@ -287,7 +287,7 @@ Font::GlyphTexture::~GlyphTexture() } // return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. -int Font::GlyphTexture::compare(const StateAttribute& rhs) const +int Font::GlyphTexture::compare(const osg::StateAttribute& rhs) const { if (this<&rhs) return -1; else if (this>&rhs) return 1;