Added weak_ptr typedef to Sound (WSoundPtr), since this is commonly used

This commit is contained in:
Nicolay Korslund 2010-08-19 15:42:00 +02:00
parent 200fab03ef
commit 3324f6494c
2 changed files with 2 additions and 1 deletions

View file

@ -26,6 +26,7 @@ namespace Sound {
*/
class Sound;
typedef boost::shared_ptr<Sound> SoundPtr;
typedef boost::weak_ptr <Sound> WSoundPtr;
class Sound
{

View file

@ -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>