Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4491fca6a07e9bb60c5f39d3c9c31761 > files > 4

SpiralLoops-2.0.0-8mdv2008.0.src.rpm

--- SpiralLoops-2.0.0/SpiralSound/Sample.h~	2006-09-12 17:38:29.000000000 -0400
+++ SpiralLoops-2.0.0/SpiralSound/Sample.h	2006-09-12 17:39:26.000000000 -0400
@@ -65,13 +65,13 @@
 	void Shrink(int Length);
 	void CropTo(int NewLength);
 
-	inline short &Sample::operator[](int i) const
+	inline short &operator[](int i) const
 	{
 		assert(i>=0 && i<m_Length);
 		return m_Data[i];
 	}
 
-	inline void Sample::Set(int i, long int v) 
+	inline void Set(int i, long int v) 
 	{	
 		assert(i>=0 && i<m_Length);
 		// clip
@@ -81,7 +81,7 @@
 		m_Data[i]=(short)v;
 	}	
 	
-	inline Sample &Sample::operator=(const Sample &rhs)
+	inline Sample &operator=(const Sample &rhs)
 	{
 		Allocate(rhs.GetLength());		
 		memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());