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/cmLocalUnixMakefileGenerator3.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/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index f6a0e34..dbdde48 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -9,12 +9,12 @@ #include <utility> #include <cm/memory> +#include <cm/vector> #include <cmext/algorithm> #include "cmsys/FStream.hxx" #include "cmsys/Terminal.h" -#include "cmAlgorithms.h" #include "cmCustomCommand.h" // IWYU pragma: keep #include "cmCustomCommandGenerator.h" #include "cmFileTimeCache.h" @@ -1876,7 +1876,7 @@ void cmLocalUnixMakefileGenerator3::WriteDependLanguageInfo( std::string binaryDir = this->GetState()->GetBinaryDirectory(); if (this->Makefile->IsOn("CMAKE_DEPENDS_IN_PROJECT_ONLY")) { std::string const& sourceDir = this->GetState()->GetSourceDirectory(); - cmEraseIf(includes, ::NotInProjectDir(sourceDir, binaryDir)); + cm::erase_if(includes, ::NotInProjectDir(sourceDir, binaryDir)); } for (std::string const& include : includes) { cmakefileStream << " \"" |