freebsd-ports/audio/fcplay/files/patch-SmartPtr.h
Anders Nordby ee5a26a838 C++ fixes to make fcplay build with GCC 3.2+.
Require GCC 3.2+.

Obtained from:	xmms-fc CVS
2006-06-06 19:42:56 +00:00

26 lines
798 B
C

--- SmartPtr.h.orig Tue Jun 6 20:00:27 2006
+++ SmartPtr.h Tue Jun 6 20:00:38 2006
@@ -207,16 +207,16 @@
{
if ( bufferLen >= 1 )
{
- pBufCurrent = ( bufBegin = buffer );
- bufEnd = bufBegin + bufferLen;
- bufLen = bufferLen;
- status = true;
+ this->pBufCurrent = ( this->bufBegin = buffer );
+ this->bufEnd = this->bufBegin + bufferLen;
+ this->bufLen = bufferLen;
+ this->status = true;
}
else
{
- pBufCurrent = bufBegin = bufEnd = 0;
- bufLen = 0;
- status = false;
+ this->pBufCurrent = this->bufBegin = this->bufEnd = 0;
+ this->bufLen = 0;
+ this->status = false;
}
}
};