summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-06 13:54:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-06 13:54:18 (GMT)
commit3ecbe1987d56b905853a5fae4f5664befed0e223 (patch)
tree5c0649ed541e2c61f81b7ca0193c67b5e2f64390 /Source/cmLocalGenerator.cxx
parent6d2a2fe66027b6eeb2817a8e667894ad2e233d03 (diff)
parent6f16be6a6265ee19bd8193da8a7a0d111717ee80 (diff)
downloadCMake-3ecbe1987d56b905853a5fae4f5664befed0e223.zip
CMake-3ecbe1987d56b905853a5fae4f5664befed0e223.tar.gz
CMake-3ecbe1987d56b905853a5fae4f5664befed0e223.tar.bz2
Merge topic 'isonoff-cstr'
6f16be6a62 Remove unnecessary c_str() calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2346
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 532f9a9..aef9aa6 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2024,7 +2024,7 @@ void cmLocalGenerator::AppendIncludeDirectories(
std::string inc = include;
- if (!cmSystemTools::IsOff(inc.c_str())) {
+ if (!cmSystemTools::IsOff(inc)) {
cmSystemTools::ConvertToUnixSlashes(inc);
}