Use std::string_view for strings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user