diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | Source/cmSourceGroupCommand.cxx | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy index b87ca4b..bfcb67c 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -18,7 +18,6 @@ modernize-*,\ -modernize-use-using,\ performance-*,\ -performance-inefficient-string-concatenation,\ --performance-inefficient-vector-operation,\ readability-*,\ -readability-function-size,\ -readability-identifier-naming,\ diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 34ded38..2bc4c39 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -77,6 +77,7 @@ std::vector<std::string> prepareFilesPathsForTree( const std::string& currentSourceDir) { std::vector<std::string> prepared; + prepared.reserve(filesPaths.size()); for (auto const& filePath : filesPaths) { prepared.push_back(prepareFilePathForTree(filePath, currentSourceDir)); |