Use std::string_view for strings

This commit is contained in:
SirLynix
2024-01-04 14:40:50 +01:00
parent 0cd8cff53e
commit 2125b80b8d
9 changed files with 18 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ namespace Nz
{
}
inline std::size_t SkeletonComponentBase::FindJointByName(const std::string& jointName) const
inline std::size_t SkeletonComponentBase::FindJointByName(std::string_view jointName) const
{
return m_referenceSkeleton->GetJointIndex(jointName);
}