mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
stringapi: Use strings for generated file stream names
This commit is contained in:
@@ -249,12 +249,7 @@ int cmGeneratedFileStreamBase::RenameFile(const char* oldname,
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmGeneratedFileStream::SetName(const char* fname)
|
||||
void cmGeneratedFileStream::SetName(const std::string& fname)
|
||||
{
|
||||
if ( !fname )
|
||||
{
|
||||
this->Name = "";
|
||||
return;
|
||||
}
|
||||
this->Name = fname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user