From Andy Skinner, build fixes for Solaris.

This commit is contained in:
Robert Osfield
2007-12-12 16:55:13 +00:00
parent 6eaace8f6e
commit 6bb7935dea
2 changed files with 2 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ class OSGSIM_EXPORT ShapeAttributeList : public osg::Object, public std::vector<
ShapeAttributeList(const ShapeAttributeList& sal,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY):
osg::Object(sal, copyop)
{
copy(sal.begin(),sal.end(), begin());
std::copy(sal.begin(),sal.end(), begin());
}
/** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/