mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04: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;
|
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…
x
Reference in New Issue
Block a user