Compile fixes for VS6.0.

This commit is contained in:
Robert Osfield
2005-11-10 17:24:41 +00:00
parent 9ce96d3565
commit cee8424c0f
3 changed files with 4 additions and 8 deletions

View File

@@ -312,10 +312,6 @@ SOURCE=..\..\..\src\osgPlugins\osg\ShapeDrawable.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgPlugins\osg\Scissor.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgPlugins\osg\StateSet.cpp
# End Source File
# Begin Source File

View File

@@ -232,8 +232,7 @@ class DataConverter
osg::notify(osg::NOTICE)<<"writeFramestamp = "<<fs.getFrameNumber()<<" "<<fs.getReferenceTime()<<std::endl;
writeUInt(fs.getFrameNumber());
return writeDouble(fs.getReferenceTime());
writeDouble(fs.getReferenceTime());
}
void read(osg::FrameStamp& fs)

View File

@@ -3314,7 +3314,8 @@ osg::Node* DataSet::CompositeDestination::createScene()
}
NodeList childNodes;
for(ChildList::iterator citr=_children.begin();
ChildList::iterator citr;
for(citr=_children.begin();
citr!=_children.end();
++citr)
{
@@ -3324,7 +3325,7 @@ osg::Node* DataSet::CompositeDestination::createScene()
float cutOffDistance = -FLT_MAX;
for(ChildList::iterator citr=_children.begin();
for(citr=_children.begin();
citr!=_children.end();
++citr)
{