3D Audio GSoC:
[blender.git] / intern / audaspace / intern / AUD_SequencerFactory.cpp
index 47d5243c04e34b2e389eab84cf502c23db56b7d7..1787dea0ebbfd83e95c37a6c9109bb40c7803040 100644 (file)
@@ -108,7 +108,7 @@ AUD_Reference<AUD_IReader> AUD_SequencerFactory::createReader()
                                                                                                                  m_volume);
        m_readers.push_front(reader);
 
                                                                                                                  m_volume);
        m_readers.push_front(reader);
 
-       return reader.convert<AUD_IReader>();
+       return AUD_Reference<AUD_IReader>(reader);
 }
 
 void AUD_SequencerFactory::removeReader(AUD_Reference<AUD_SequencerReader> reader)
 }
 
 void AUD_SequencerFactory::removeReader(AUD_Reference<AUD_SequencerReader> reader)