Minor changes per code review feedback. Added explicit keyword. Renmoved unnecessary local variable.
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
This commit is contained in:
@@ -34,7 +34,7 @@ namespace AZ
|
||||
explicit MaterialPropertyId(AZStd::string_view propertyName);
|
||||
MaterialPropertyId(AZStd::string_view groupName, AZStd::string_view propertyName);
|
||||
MaterialPropertyId(const Name& groupName, const Name& propertyName);
|
||||
MaterialPropertyId(const AZStd::array_view<AZStd::string> names);
|
||||
explicit MaterialPropertyId(const AZStd::array_view<AZStd::string> names);
|
||||
|
||||
AZ_DEFAULT_COPY_MOVE(MaterialPropertyId);
|
||||
|
||||
|
||||
@@ -99,9 +99,7 @@ namespace AZ
|
||||
}
|
||||
}
|
||||
|
||||
AZStd::string fullName;
|
||||
AzFramework::StringFunc::Join(fullName, names.begin(), names.end(), ".");
|
||||
m_fullName = fullName;
|
||||
AzFramework::StringFunc::Join(m_fullName, names.begin(), names.end(), ".");
|
||||
}
|
||||
|
||||
MaterialPropertyId::operator const Name&() const
|
||||
|
||||
Reference in New Issue
Block a user