mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
stringapi: Use strings in Convert methods in LocalGenerator
The C strings were turned into std::strings internally anyways and most callers used .c_str().
This commit is contained in:
@@ -269,7 +269,7 @@ protected:
|
||||
//==================================================================
|
||||
// Convenience routines that do nothing more than forward to
|
||||
// implementaitons
|
||||
std::string Convert(const char* source,
|
||||
std::string Convert(const std::string& source,
|
||||
cmLocalGenerator::RelativeRoot relative,
|
||||
cmLocalGenerator::OutputFormat output =
|
||||
cmLocalGenerator::UNCHANGED,
|
||||
|
||||
Reference in New Issue
Block a user