diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-08-08 11:33:58 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-08-09 10:20:50 (GMT) |
commit | 27090096ef3dc572515c23e2ec92e5ee19432950 (patch) | |
tree | 2cee785fef19832b0f69c64256845d800dee4d4a /Source/cmGlobalGenerator.cxx | |
parent | 242435a9c891bda62880b77d6d612a8975f11059 (diff) | |
download | CMake-27090096ef3dc572515c23e2ec92e5ee19432950.zip CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.gz CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.bz2 |
cmStringAlgorithms: Add cmRemoveQuotes
- Add `cmRemoveQuotes` function to cmStringAlgorithms
- Remove unused removeQuotes inline functions
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 88da5eb..6cb0b5c 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2270,14 +2270,6 @@ bool cmGlobalGenerator::NameResolvesToFramework( return false; } -inline std::string removeQuotes(const std::string& s) -{ - if (s.front() == '\"' && s.back() == '\"') { - return s.substr(1, s.size() - 2); - } - return s; -} - bool cmGlobalGenerator::CheckCMP0037(std::string const& targetName, std::string const& reason) const { |