28 lines
906 B
Plaintext
28 lines
906 B
Plaintext
$OpenBSD: patch-src_smart_h,v 1.1 2010/05/11 21:19:25 espie Exp $
|
|
--- src/smart.h.orig Tue May 11 23:07:35 2010
|
|
+++ src/smart.h Tue May 11 23:16:56 2010
|
|
@@ -211,16 +211,16 @@ class smartPtr : public smartPtrBase<T>
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
};
|