From Mathias Froehlich, build fixes

This commit is contained in:
Robert Osfield
2008-10-07 12:31:42 +00:00
parent 8c98220878
commit ff8c6aa32b
5 changed files with 5 additions and 4 deletions

View File

@@ -561,7 +561,7 @@ bool OSGA_Archive::addFileReference(pos_type position, size_type size, const std
// get an IndexBlock with space available if possible
unsigned int blockSize = 4096;
osg::ref_ptr<IndexBlock> indexBlock = _indexBlockList.empty() ? 0 : _indexBlockList.back();
osg::ref_ptr<IndexBlock> indexBlock = _indexBlockList.empty() ? 0 : _indexBlockList.back().get();
osg::ref_ptr<IndexBlock> previousBlock = indexBlock;
if (indexBlock.valid())
{