diff options
Diffstat (limited to 'src/bufstr.h')
-rw-r--r-- | src/bufstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bufstr.h b/src/bufstr.h index 9281d3e..21257c0 100644 --- a/src/bufstr.h +++ b/src/bufstr.h @@ -33,7 +33,7 @@ class BufStr : public QCString { QCString::resize(size()+spareRoom); } - data()[offset++]=c; + QCString::data()[offset++]=c; } void addArray(const char *a,int len) { @@ -41,7 +41,7 @@ class BufStr : public QCString { QCString::resize(size()+len+spareRoom); } - memcpy(data()+offset,a,len); + memcpy(QCString::data()+offset,a,len); offset+=len; } uint curPos() { return offset; } |