diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-10-28 20:29:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-10-29 21:54:17 (GMT) |
commit | 94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3 (patch) | |
tree | c799c05e24cceb1fbbe3358fbab2760a3e7c9e10 /src/scanner.l | |
parent | e8efa15a24b991332e2be0e44714d930d4d489a6 (diff) | |
download | Doxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.zip Doxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.tar.gz Doxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.tar.bz2 |
Replaced QList<BaseInfo> with std::vector<BaseInfo>
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scanner.l b/src/scanner.l index 61b51cb..6fa5008 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -5476,8 +5476,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) // there can be only one base class here if (!baseName.isEmpty()) { - current->extends->append( - new BaseInfo(baseName,Public,Normal)); + current->extends.push_back( + BaseInfo(baseName,Public,Normal)); baseName.resize(0); } current_root->moveToSubEntryAndRefresh( current ) ; @@ -6156,8 +6156,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->name = removeRedundantWhiteSpace(current->name); if (!baseName.isEmpty()) { - current->extends->append( - new BaseInfo(baseName,baseProt,baseVirt) + current->extends.push_back( + BaseInfo(baseName,baseProt,baseVirt) ); } if ((current->spec & (Entry::Interface|Entry::Struct)) || @@ -6198,8 +6198,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->startColumn = yyColNr; current->name = removeRedundantWhiteSpace(current->name); if (!baseName.isEmpty()) - current->extends->append( - new BaseInfo(baseName,baseProt,baseVirt) + current->extends.push_back( + BaseInfo(baseName,baseProt,baseVirt) ); curlyCount=0; if (insideObjC) |