diff options
author | Brad King <brad.king@kitware.com> | 2019-02-05 12:46:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-05 12:47:14 (GMT) |
commit | ab01ce91eee2ff8b00d56a5044a54404d4d3f49c (patch) | |
tree | e9deb2d1c62d6ce1535f0e0b020bde67b222b80e /Source/cmExtraCodeLiteGenerator.cxx | |
parent | c6d679f0d904b19b3be411b399b5904a5da7ea78 (diff) | |
parent | b6cf08626785fc6401220928be8ab37b89bc669c (diff) | |
download | CMake-ab01ce91eee2ff8b00d56a5044a54404d4d3f49c.zip CMake-ab01ce91eee2ff8b00d56a5044a54404d4d3f49c.tar.gz CMake-ab01ce91eee2ff8b00d56a5044a54404d4d3f49c.tar.bz2 |
Merge topic 'autogen_single_all_sources_iteration'
b6cf086267 Autogen: Iterate over makefile sources only once
ed0fa784eb cmSystemTools: Let `GetFileFormat` accept a `std::stding const&`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2909
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeLiteGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx index 2fa593c..0773edc 100644 --- a/Source/cmExtraCodeLiteGenerator.cxx +++ b/Source/cmExtraCodeLiteGenerator.cxx @@ -223,7 +223,7 @@ std::string cmExtraCodeLiteGenerator::CollectSourceFiles( for (cmSourceFile* s : sources) { // check whether it is a source or a include file // then put it accordingly into one of the two containers - switch (cmSystemTools::GetFileFormat(s->GetExtension().c_str())) { + switch (cmSystemTools::GetFileFormat(s->GetExtension())) { case cmSystemTools::C_FILE_FORMAT: case cmSystemTools::CXX_FILE_FORMAT: case cmSystemTools::CUDA_FILE_FORMAT: |