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/cmMakefile.h | |
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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index abe2cd1..e88bb0b 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -689,13 +689,13 @@ public: /** * Return a location of a file in cmake or custom modules directory */ - std::string GetModulesFile(const char* name) const + std::string GetModulesFile(const std::string& name) const { bool system; return this->GetModulesFile(name, system); } - std::string GetModulesFile(const char* name, bool& system) const; + std::string GetModulesFile(const std::string& name, bool& system) const; ///! Set/Get a property of this directory void SetProperty(const std::string& prop, const char* value); |