]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.hxx
Use a reference counted pointer for the condition.
[simgear.git] / simgear / sound / xmlsound.hxx
index 66caa1396b670fcd8cea3b46d66a847f03fa700f..d161bbca4acf5f32035da558f38d26963d18ba22 100644 (file)
@@ -138,7 +138,7 @@ private:
   SGSoundMgr * _mgr;
   SGSharedPtr<SGSoundSample> _sample;
 
-  SGCondition * _condition;
+  SGSharedPtr<SGCondition> _condition;
   SGPropertyNode_ptr _property;
 
   bool _active;