diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-08-31 19:01:22 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-05 15:12:57 -0400 |
commit | 6f16be6a6265ee19bd8193da8a7a0d111717ee80 (patch) | |
tree | 3c4cf88923ac34587e5abe2d2f701c7572cc599c /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 612975c6652c83c29fcfcf56a7b5a0cfe0218c93 (diff) | |
download | cmake-6f16be6a6265ee19bd8193da8a7a0d111717ee80.tar.gz |
Remove unnecessary c_str() calls
Use the new IsOn(),IsOff() overloads.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 28cbdc7b5b..21121f2bbf 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -679,7 +679,7 @@ std::set<std::string> cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild( std::unique_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(propertyValue); if (cmSystemTools::IsOn( - cge->Evaluate(target->GetLocalGenerator(), i).c_str())) { + cge->Evaluate(target->GetLocalGenerator(), i))) { activeConfigs.insert(i); } } |