summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-01-23 01:47:53 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-23 16:10:04 (GMT)
commit25243014e5367108604e03682b04dd5ec1e93673 (patch)
tree768fba75536e0f500660b05a4050a21d16099925 /Source/cmExtraEclipseCDT4Generator.cxx
parentb058d92b33ab37a56ac4dcf2f1e49aec89f554e3 (diff)
downloadCMake-25243014e5367108604e03682b04dd5ec1e93673.zip
CMake-25243014e5367108604e03682b04dd5ec1e93673.tar.gz
CMake-25243014e5367108604e03682b04dd5ec1e93673.tar.bz2
cmMakefile: use std::string in more methods; cleanup c_str()s
Follow up commit 969c1f94ae (cmSourceGroup: code improvements; use std::string and C++11 loops, 2017-01-10).
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index a200385..1fc0828 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -498,7 +498,7 @@ void cmExtraEclipseCDT4Generator::CreateLinksForTargets(cmXMLWriter& xml)
// Add the file to the list of sources.
std::string const& source = sf->GetFullPath();
cmSourceGroup* sourceGroup =
- makefile->FindSourceGroup(source.c_str(), sourceGroups);
+ makefile->FindSourceGroup(source, sourceGroups);
sourceGroup->AssignSource(sf);
}