From 86a811c736810ef156fd2788be74951c5416ca03 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Thu, 12 Aug 2010 16:50:20 +0200 Subject: [PATCH] Another minor fix --- sound/clients/ogre_output_updater.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/clients/ogre_output_updater.hpp b/sound/clients/ogre_output_updater.hpp index 5072e9f1e..b73168c75 100644 --- a/sound/clients/ogre_output_updater.hpp +++ b/sound/clients/ogre_output_updater.hpp @@ -14,15 +14,15 @@ namespace Sound { struct OgreOutputUpdater : Ogre::FrameListener { - Mangle::Sound::SoundFactory &driver; + Mangle::Sound::SoundFactoryPtr driver; - OgreOutputUpdater(Mangle::Sound::SoundFactory &drv) + OgreOutputUpdater(Mangle::Sound::SoundFactoryPtr drv) : driver(drv) - { assert(drv.needsUpdate); } + { assert(drv->needsUpdate); } bool frameStarted(const Ogre::FrameEvent &evt) { - driver.update(); + driver->update(); return true; } };