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>2011-06-15 01:22:22 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-06-15 01:22:22 +0400
commitf8212f4e031a6b3ba12d29830e01d067f2a94273 (patch)
tree940ea17b84647a94aa177219777086d4985e2db4 /intern/audaspace/sndfile
parentf3f3bcc45e701fac4abcfb68a2bbc60e06e6a9f4 (diff)
3D Audio GSoC:
Removing unneeded const from Factory::createReader.
Diffstat (limited to 'intern/audaspace/sndfile')
-rw-r--r--intern/audaspace/sndfile/AUD_SndFileFactory.cpp2
-rw-r--r--intern/audaspace/sndfile/AUD_SndFileFactory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/audaspace/sndfile/AUD_SndFileFactory.cpp b/intern/audaspace/sndfile/AUD_SndFileFactory.cpp
index 7ab3308f01b..5a0280cdf84 100644
--- a/intern/audaspace/sndfile/AUD_SndFileFactory.cpp
+++ b/intern/audaspace/sndfile/AUD_SndFileFactory.cpp
@@ -46,7 +46,7 @@ AUD_SndFileFactory::AUD_SndFileFactory(const data_t* buffer, int size) :
memcpy(m_buffer->getBuffer(), buffer, size);
}
-AUD_Reference<AUD_IReader> AUD_SndFileFactory::createReader() const
+AUD_Reference<AUD_IReader> AUD_SndFileFactory::createReader()
{
if(m_buffer.isNull())
return new AUD_SndFileReader(m_filename);
diff --git a/intern/audaspace/sndfile/AUD_SndFileFactory.h b/intern/audaspace/sndfile/AUD_SndFileFactory.h
index 3a1037e5587..a46dc165264 100644
--- a/intern/audaspace/sndfile/AUD_SndFileFactory.h
+++ b/intern/audaspace/sndfile/AUD_SndFileFactory.h
@@ -72,7 +72,7 @@ public:
*/
AUD_SndFileFactory(const data_t* buffer, int size);
- virtual AUD_Reference<AUD_IReader> createReader() const;
+ virtual AUD_Reference<AUD_IReader> createReader();
};
#endif //AUD_SNDFILEFACTORY