From 2ec9df75976a86a165ed02dbbe9bdd7af93b7531 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Tue, 9 Nov 2021 22:10:26 +0000 Subject: [PATCH] Fix compile error on MacOS --- simgear/scene/tgdb/VPBTechnique.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();