mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
cmSystemTools: Let GetFileFormat accept a std::stding const&
The `const char*` used formerly was converted to a `std::string` internally anyway.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user