diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-02 10:29:22 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-02 17:42:08 (GMT) |
commit | ed0fa784ebb2b7e4d6db8b40d16f84f34692890a (patch) | |
tree | 11a18e2e286c31c806e9f44d984e440f940bc8d6 /Source/cmSystemTools.h | |
parent | 254b7260f49caaca78b16761d70d6239626d2129 (diff) | |
download | CMake-ed0fa784ebb2b7e4d6db8b40d16f84f34692890a.zip CMake-ed0fa784ebb2b7e4d6db8b40d16f84f34692890a.tar.gz CMake-ed0fa784ebb2b7e4d6db8b40d16f84f34692890a.tar.bz2 |
cmSystemTools: Let `GetFileFormat` accept a `std::stding const&`
The `const char*` used formerly was converted to a `std::string`
internally anyway.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index fcb2cce..0f92fe2 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -334,7 +334,7 @@ public: /** * Determine the file type based on the extension */ - static FileFormat GetFileFormat(const char* ext); + static FileFormat GetFileFormat(std::string const& ext); /** Windows if this is true, the CreateProcess in RunCommand will * not show new console windows when running programs. |