mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Added weak_ptr typedef to Sound (WSoundPtr), since this is commonly used
This commit is contained in:
parent
200fab03ef
commit
3324f6494c
@ -26,6 +26,7 @@ namespace Sound {
|
||||
*/
|
||||
class Sound;
|
||||
typedef boost::shared_ptr<Sound> SoundPtr;
|
||||
typedef boost::weak_ptr <Sound> WSoundPtr;
|
||||
|
||||
class Sound
|
||||
{
|
||||
|
@ -1,3 +1,3 @@
|
||||
// This file should include whatever it needs to define the boost/tr1
|
||||
// shared_ptr<> template.
|
||||
// shared_ptr<> and weak_ptr<> templates.
|
||||
#include <boost/smart_ptr.hpp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user