forked from mirror/openmw-tes3mp
Added weak_ptr typedef to Sound (WSoundPtr), since this is commonly used
This commit is contained in:
parent
200fab03ef
commit
3324f6494c
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ namespace Sound {
|
||||||
*/
|
*/
|
||||||
class Sound;
|
class Sound;
|
||||||
typedef boost::shared_ptr<Sound> SoundPtr;
|
typedef boost::shared_ptr<Sound> SoundPtr;
|
||||||
|
typedef boost::weak_ptr <Sound> WSoundPtr;
|
||||||
|
|
||||||
class Sound
|
class Sound
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
// This file should include whatever it needs to define the boost/tr1
|
// 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>
|
#include <boost/smart_ptr.hpp>
|
||||||
|
|
Loading…
Reference in a new issue