X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSound%2Fsample_queue.hxx;h=88b30ae757f8641dea0ced9fda68bd5231a5bec5;hb=430fbe99fa7a1fbb3649ccdedb31beab87a5c040;hp=c874ae3eb2eada42a9c0d0c3f145ef5b32a97369;hpb=f9445874a02689cbd9a0197c5aac7ffeab1436ac;p=flightgear.git diff --git a/src/Sound/sample_queue.hxx b/src/Sound/sample_queue.hxx index c874ae3eb..88b30ae75 100644 --- a/src/Sound/sample_queue.hxx +++ b/src/Sound/sample_queue.hxx @@ -51,11 +51,11 @@ public: virtual void update (double dt); - inline void add (SGSoundSample *msg) { _messages.push(msg); } + inline void add (SGSharedPtr msg) { _messages.push(msg); } private: - std::queue _messages; + std::queue< SGSharedPtr > _messages; bool last_pause; double last_volume;