diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-02-10 22:04:32 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-02-10 22:04:32 (GMT) |
commit | c3800e54583208ac4a6435884bb8832e72af3183 (patch) | |
tree | 12e2b0c67f170e1521cb013b79becc0c419e1a5a /Source/cmGlobalVisualStudio14Generator.cxx | |
parent | ee3295e91740033ebe9d9a0c800c0a3070108624 (diff) | |
download | CMake-c3800e54583208ac4a6435884bb8832e72af3183.zip CMake-c3800e54583208ac4a6435884bb8832e72af3183.tar.gz CMake-c3800e54583208ac4a6435884bb8832e72af3183.tar.bz2 |
cmAlgorithms: add cmEraseIf function
Diffstat (limited to 'Source/cmGlobalVisualStudio14Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio14Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio14Generator.cxx b/Source/cmGlobalVisualStudio14Generator.cxx index 81c305c..d2ac36b 100644 --- a/Source/cmGlobalVisualStudio14Generator.cxx +++ b/Source/cmGlobalVisualStudio14Generator.cxx @@ -238,8 +238,7 @@ std::string cmGlobalVisualStudio14Generator::GetWindows10SDKVersion() // Skip SDKs that do not contain <um/windows.h> because that indicates that // only the UCRT MSIs were installed for them. - sdks.erase(std::remove_if(sdks.begin(), sdks.end(), NoWindowsH()), - sdks.end()); + cmEraseIf(sdks, NoWindowsH()); if (!sdks.empty()) { // Only use the filename, which will be the SDK version. |