diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-10-24 11:41:18 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-11-22 16:15:21 +0000 |
commit | 1445ea6d69146b2c05efbfe142c557f9bf724025 (patch) | |
tree | bf18018fbd4254f1aeb624ab61a9862e4aa8a951 /src/plugins/scanner | |
parent | c8d0d4fe646e60daea678602d7ca71e492fb65ad (diff) |
STL compatibility: use push_back() instead of append()
...or operator<< if the argument was itself a list, or brace init where
appropriate.
This is a simple find and replace with manual sanity check.
Change-Id: I94b79cbf3752192dd258001bf1dfcd46f58ca352
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/scanner')
-rw-r--r-- | src/plugins/scanner/cpp/cppscanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scanner/cpp/cppscanner.cpp b/src/plugins/scanner/cpp/cppscanner.cpp index 84bda61b6..739b863de 100644 --- a/src/plugins/scanner/cpp/cppscanner.cpp +++ b/src/plugins/scanner/cpp/cppscanner.cpp @@ -169,7 +169,7 @@ static void scanCppFile(void *opaq, CPlusPlus::Lexer &yylex, bool scanForFileTag else scanResult.flags = SC_GLOBAL_INCLUDE_FLAG; scanResult.fileName = opaque->fileContent + tk.begin() + 1; - opaque->includedFiles.append(scanResult); + opaque->includedFiles.push_back(scanResult); } } } |