diff options
| author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-04-13 12:11:31 +0200 |
|---|---|---|
| committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-04-17 10:00:03 +0200 |
| commit | aacd4e4a90a3afb23d681063d2ecba719f1adab8 (patch) | |
| tree | 7e1a884cb47519099bd5db178681773f82dad688 /Source/cmXCodeScheme.cxx | |
| parent | 9a450bcfec5411169007d5ca5f1bd40e6f476ff4 (diff) | |
| download | cmake-aacd4e4a90a3afb23d681063d2ecba719f1adab8.tar.gz | |
Refactoring: add cm::contains to <cmext/algorithm>
Diffstat (limited to 'Source/cmXCodeScheme.cxx')
| -rw-r--r-- | Source/cmXCodeScheme.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmXCodeScheme.cxx b/Source/cmXCodeScheme.cxx index b34c2f6e14..1b437e9dd6 100644 --- a/Source/cmXCodeScheme.cxx +++ b/Source/cmXCodeScheme.cxx @@ -7,6 +7,8 @@ #include <sstream> #include <utility> +#include <cmext/algorithm> + #include "cmGeneratedFileStream.h" #include "cmGeneratorExpression.h" #include "cmGeneratorTarget.h" @@ -427,7 +429,7 @@ std::string cmXCodeScheme::FindConfiguration(const std::string& name) // Try to find the desired configuration by name, // and if it's not found return first from the list // - if (!cmContains(this->ConfigList, name) && !this->ConfigList.empty()) { + if (!cm::contains(this->ConfigList, name) && !this->ConfigList.empty()) { return this->ConfigList[0]; } |
