diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-21 17:56:51 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-21 17:56:51 (GMT) |
commit | 2993fc347af5db802721f1bbe0a0e05d19a28e89 (patch) | |
tree | ee8db722bd720ec04c454d113215377dc38165c6 /Source/cmIncludeCommand.cxx | |
parent | 02f7e997e939dbd0c753514edcd580083cebd37c (diff) | |
download | CMake-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.cxx | 2 |
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; } |