]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/navradio.hxx
Use shared pointers for any reference to SGSoundSample
[flightgear.git] / src / Instrumentation / navradio.hxx
index 978e77d6f9da33cb6f7417d464f9a4ec1926ba62..6dbe3b78e1775afaf91516ef316f96d276dfb9bc 100644 (file)
@@ -160,7 +160,7 @@ class FGNavRadio : public SGSubsystem
     // realism setting, are false courses and GS lobes enabled?
     bool _falseCoursesEnabled;
 
-    SGSampleGroup *_sgr;
+    SGSharedPtr<SGSampleGroup> _sgr;
     
     bool updateWithPower(double aDt);