Commit d00d094b authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 707995 - @copydoc not working for const member overloads

parent fdc1768f
...@@ -6920,11 +6920,19 @@ static QCString extractCopyDocId(const char *data, uint &j, uint len) ...@@ -6920,11 +6920,19 @@ static QCString extractCopyDocId(const char *data, uint &j, uint len)
} }
if (!found) j++; if (!found) j++;
} }
if (qstrncmp(data+j," const",6)==0)
{
j+=6;
}
else if (qstrncmp(data+j," volatile",9)==0)
{
j+=9;
}
e=j; e=j;
QCString id(e-s+1); QCString id(e-s+1);
if (e>s) memcpy(id.data(),data+s,e-s); if (e>s) memcpy(id.data(),data+s,e-s);
id.at(e-s)='\0'; id.at(e-s)='\0';
//printf("extractCopyDocId=%s input='%s'\n",id.data(),&data[s]); //printf("extractCopyDocId='%s' input='%s'\n",id.data(),&data[s]);
return id; return id;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment