From 742ecf395fe3a56d79d8e12363de84fc897d80c1 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Mon, 16 May 2011 02:12:46 +0200 Subject: [PATCH] One last GCC 4.6 stopgap --- indra/llaudio/llaudioengine.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/indra/llaudio/llaudioengine.h b/indra/llaudio/llaudioengine.h index 4d5d919e1..83f7f66a5 100644 --- a/indra/llaudio/llaudioengine.h +++ b/indra/llaudio/llaudioengine.h @@ -478,7 +478,7 @@ protected: extern LLAudioEngine* gAudiop; // -typedef struct +struct LLSoundHistoryItem { LLUUID mID; LLVector3d mPosition; @@ -494,7 +494,11 @@ typedef struct bool mReviewed; bool mReviewedCollision; LLAudioSource* mAudioSource; -} LLSoundHistoryItem; + + LLSoundHistoryItem() : mType(0), mPlaying(false), mIsTrigger(false), + mIsLooped(false), mReviewed(false), mReviewedCollision(false), + mTimeStarted(0), mTimeStopped(0), mAudioSource(0) {} +}; extern std::map gSoundHistory;