diff --git a/simgear/scene/tgdb/VPBTechnique.hxx b/simgear/scene/tgdb/VPBTechnique.hxx index ff5d9395..4a36c923 100644 --- a/simgear/scene/tgdb/VPBTechnique.hxx +++ b/simgear/scene/tgdb/VPBTechnique.hxx @@ -199,7 +199,7 @@ class VPBTechnique : public TerrainTechnique osg::Matrix3 _filterMatrix; osg::ref_ptr _filterMatrixUniform; osg::ref_ptr _options; - const string& _fileName; + const string _fileName; osg::ref_ptr _randomObjectsConstraintGroup; inline static osg::ref_ptr _elevationConstraintGroup = new osg::Group();