Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2012-11-05 18:24:35 +0400
committerJoerg Mueller <nexyon@gmail.com>2012-11-05 18:24:35 +0400
commit5a8d5f77af84d3f790d749dfd2d76a3b487eb06a (patch)
tree22326dd7033689c8e33dd59a265874ca5249bf14 /intern/audaspace/sndfile/AUD_SndFileFactory.h
parent0f9559fe714b582039677de9dea5a3956dcdc4aa (diff)
Audaspace:
Replacing AUD_Reference with boost::shared_ptr.
Diffstat (limited to 'intern/audaspace/sndfile/AUD_SndFileFactory.h')
-rw-r--r--intern/audaspace/sndfile/AUD_SndFileFactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/audaspace/sndfile/AUD_SndFileFactory.h b/intern/audaspace/sndfile/AUD_SndFileFactory.h
index 7039c7a2615..bc96325d6eb 100644
--- a/intern/audaspace/sndfile/AUD_SndFileFactory.h
+++ b/intern/audaspace/sndfile/AUD_SndFileFactory.h
@@ -31,10 +31,10 @@
#define __AUD_SNDFILEFACTORY_H__
#include "AUD_IFactory.h"
-#include "AUD_Reference.h"
#include "AUD_Buffer.h"
#include <string>
+#include <boost/shared_ptr.hpp>
/**
* This factory reads a sound file via libsndfile.
@@ -50,7 +50,7 @@ private:
/**
* The buffer to read from.
*/
- AUD_Reference<AUD_Buffer> m_buffer;
+ boost::shared_ptr<AUD_Buffer> m_buffer;
// hide copy constructor and operator=
AUD_SndFileFactory(const AUD_SndFileFactory&);
@@ -70,7 +70,7 @@ public:
*/
AUD_SndFileFactory(const data_t* buffer, int size);
- virtual AUD_Reference<AUD_IReader> createReader();
+ virtual boost::shared_ptr<AUD_IReader> createReader();
};
#endif //__AUD_SNDFILEFACTORY_H__