From 19e7c0405f88a50eb1941ff03cf4c31d1a8da520 Mon Sep 17 00:00:00 2001 From: aj_genius Date: Tue, 12 Sep 2006 11:23:00 +0000 Subject: [PATCH] Fix compile with newer gcc's --- SpiralSound/Sample.h | 8 ++++---- SpiralSound/SpiralInfo.h | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/SpiralSound/Sample.h b/SpiralSound/Sample.h index ccf4d96..5c915d2 100644 --- a/SpiralSound/Sample.h +++ b/SpiralSound/Sample.h @@ -68,7 +68,7 @@ public: void CropTo(int NewLength); bool IsEmpty() const { return m_IsEmpty; } - inline float &Sample::operator[](int i) const + inline float &operator[](int i) const { #ifdef DEBUG assert(i>=0 && i