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:
santorac
2022-01-12 15:31:37 -08:00
parent 02acf2f65e
commit 8d5a53ab93
2 changed files with 2 additions and 4 deletions
@@ -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