* Robert Osfield -- Wednesday 14 February 2007:
> No, the code is really straight forward, I can't see what might upset things.

The class name must not be used as a prefix within the class
(according to the c++ standard, AFAIK). And newer gcc are more
strict in that.

m.



diff -u -p -r1.7 Stats
--- include/osg/Stats   14 Feb 2007 16:24:49 -0000      1.7
+++ include/osg/Stats   14 Feb 2007 21:51:57 -0000
@@ -89,7 +89,7 @@ class OSG_EXPORT Stats : public osg::Ref

         bool getAttributeNoMutex(int frameNumber, const std::string& 
attributeName, double& value) const;

-        Stats::AttributeMap& Stats::getAttributeMapNoMutex(int frameNumber);
+        AttributeMap& getAttributeMapNoMutex(int frameNumber);
         const AttributeMap& getAttributeMapNoMutex(int frameNumber) const;




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to