[Consider merging] method name parser exception for *= method (not seen as protected '=')

This commit is contained in:
Matthias Koefferlein 2022-08-10 21:05:34 +02:00
parent 38d2b8378d
commit 0b0e440781
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void MethodBase::parse_name (const std::string &name)
{
const char *n = name.c_str ();
if (*n == '*' && n[1]) {
if (*n == '*' && n[1] && n[1] != '*' && n[1] != '=') {
m_protected = true;
++n;
}