Updating PR to change lower API to return AZStd::string instead of const char* for safety.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
@@ -472,7 +472,7 @@ void CTrackViewTrack::RestoreFromMemento(const CTrackViewTrackMemento& memento)
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
const char* CTrackViewTrack::GetName() const
|
||||
AZStd::string CTrackViewTrack::GetName() const
|
||||
{
|
||||
CTrackViewNode* pParentNode = GetParentNode();
|
||||
|
||||
@@ -810,7 +810,7 @@ void CTrackViewTrack::CopyKeysToClipboard(XmlNodeRef& xmlNode, const bool bOnlyS
|
||||
}
|
||||
|
||||
XmlNodeRef childNode = xmlNode->newChild("Track");
|
||||
childNode->setAttr("name", GetName());
|
||||
childNode->setAttr("name", GetName().c_str());
|
||||
GetParameterType().SaveToXml(childNode);
|
||||
childNode->setAttr("valueType", static_cast<int>(GetValueType()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user