diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-01-02 16:53:27 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-01-09 10:19:20 (GMT) |
commit | 968477517edb030cee7f9160286b31d4cda4a516 (patch) | |
tree | 855e1bebd0de9caba303a98bd4c109f6b5ecfa1f /Source/cmMakefile.cxx | |
parent | 348b60d19deec458e2300949900f682002aecf44 (diff) | |
download | CMake-968477517edb030cee7f9160286b31d4cda4a516.zip CMake-968477517edb030cee7f9160286b31d4cda4a516.tar.gz CMake-968477517edb030cee7f9160286b31d4cda4a516.tar.bz2 |
Refactoring: suppress cmEraseIf in favor of cm::erase_if
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index fa7bce1..f08c154 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -17,6 +17,7 @@ #include <cm/iterator> #include <cm/memory> #include <cm/optional> +#include <cm/vector> #include <cmext/algorithm> #include "cmsys/FStream.hxx" @@ -840,12 +841,12 @@ void cmMakefile::DoGenerate(cmLocalGenerator& lg) // we don't want cmake to re-run if a configured file is created and deleted // during processing as that would make it a transient file that can't // influence the build process - cmEraseIf(this->OutputFiles, file_not_persistent()); + cm::erase_if(this->OutputFiles, file_not_persistent()); // if a configured file is used as input for another configured file, // and then deleted it will show up in the input list files so we // need to scan those too - cmEraseIf(this->ListFiles, file_not_persistent()); + cm::erase_if(this->ListFiles, file_not_persistent()); } // Generate the output file |