summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
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/cmMakefile.h
parent02f7e997e939dbd0c753514edcd580083cebd37c (diff)
downloadCMake-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.h4
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);