Build fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF

This commit is contained in:
Robert Osfield
2010-11-22 19:38:18 +00:00
parent ca9771f7ba
commit 04b6a0888b
4 changed files with 45 additions and 42 deletions

View File

@@ -48,8 +48,8 @@ public:
{ if (i<_placers.size()) _placers.erase(_placers.begin()+i); }
/// Get a child placer
Placer* getPlacer( unsigned int i ) { return _placers.at(i); }
const Placer* getPlacer( unsigned int i ) const { return _placers.at(i); }
Placer* getPlacer( unsigned int i ) { return _placers[i].get(); }
const Placer* getPlacer( unsigned int i ) const { return _placers[i].get(); }
/// Get number of placers
unsigned int getNumPlacers() const { return _placers.size(); }