mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
cmProp: refactoring: transform alias in class
To handle safely the values used by CMake variables and properties, introduce the class cmProp as a replacement from the simple pointer to std::string instance.
This commit is contained in:
@@ -113,7 +113,7 @@ const char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
|
||||
if (this->EscapeQuotes && value) {
|
||||
return this->AddString(cmEscapeQuotes(*value));
|
||||
}
|
||||
return this->AddString(cmToCStrSafe(value));
|
||||
return this->AddString(value);
|
||||
}
|
||||
|
||||
const char* cmCommandArgumentParserHelper::ExpandVariableForAt(const char* var)
|
||||
|
||||
Reference in New Issue
Block a user