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:
Sebastian Holtermann
2019-02-02 11:29:22 +01:00
parent 254b7260f4
commit ed0fa784eb
4 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -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.