summaryrefslogtreecommitdiffstats
path: root/src/bufstr.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-04-30 17:51:14 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-04-30 17:51:14 (GMT)
commit62d3c6501af58ceb48ce8e56327d07ad69e79374 (patch)
treea37d75aa0ebe073906cb1a3c2c1506b96409f075 /src/bufstr.h
parentff31b2f109848ea3e08fb17d5821beb7af879193 (diff)
downloadDoxygen-62d3c6501af58ceb48ce8e56327d07ad69e79374.zip
Doxygen-62d3c6501af58ceb48ce8e56327d07ad69e79374.tar.gz
Doxygen-62d3c6501af58ceb48ce8e56327d07ad69e79374.tar.bz2
Release-1.2.15-20020430
Diffstat (limited to 'src/bufstr.h')
-rw-r--r--src/bufstr.h4
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; }