summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-21 17:56:51 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-21 17:56:51 (GMT)
commit2993fc347af5db802721f1bbe0a0e05d19a28e89 (patch)
treeee8db722bd720ec04c454d113215377dc38165c6 /Source/cmIncludeCommand.cxx
parent02f7e997e939dbd0c753514edcd580083cebd37c (diff)
downloadCMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.zip
CMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.tar.gz
CMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.tar.bz2
cmMakefile: GetModulesFile() accepts std::string param
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index a67d09e..0d608bb 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -67,7 +67,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args,
// Not a path. Maybe module.
std::string module = fname;
module += ".cmake";
- std::string mfile = this->Makefile->GetModulesFile(module.c_str());
+ std::string mfile = this->Makefile->GetModulesFile(module);
if (!mfile.empty()) {
fname = mfile;
}