$NetBSD: patch-ar,v 1.1 2007/09/29 11:40:46 rillig Exp $

g++ 4 enforces cleaner code.

--- SpiralSound/Sample.h.orig	2002-06-02 12:28:26.000000000 +0200
+++ SpiralSound/Sample.h	2007-09-29 13:39:21.000000000 +0200
@@ -66,7 +66,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<m_Length);
@@ -75,7 +75,7 @@ public:
 	}
 
 	// Linear interpolated
-	inline float Sample::operator[](float i) const
+	inline float operator[](float i) const
 	{		
 		int ii=(int)i;
 		
@@ -89,7 +89,7 @@ public:
 	}
 
 
-	inline void Sample::Set(int i, float v) 
+	inline void Set(int i, float v) 
 	{	
 		m_IsEmpty=false;
 		#ifdef DEBUG
@@ -98,7 +98,7 @@ public:
 		m_Data[i]=v;
 	}	
 	
-	inline Sample &Sample::operator=(const Sample &rhs)
+	inline Sample &operator=(const Sample &rhs)
 	{
 		Allocate(rhs.GetLength());		
 		memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());
