mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
fitsRuleString dont reference string_view
This commit is contained in:
parent
014cba807b
commit
340252007b
@ -127,7 +127,7 @@ namespace SceneUtil
|
||||
mRules.insert(mRules.end(), rules.begin(), rules.end());
|
||||
}
|
||||
|
||||
inline bool AnimBlendRules::fitsRuleString(const std::string_view& str, const std::string_view& ruleStr) const
|
||||
inline bool AnimBlendRules::fitsRuleString(const std::string_view str, const std::string_view ruleStr) const
|
||||
{
|
||||
// A wildcard only supported in the beginning or the end of the rule string in hopes that this will be more
|
||||
// performant. And most likely this kind of support is enough.
|
||||
|
@ -42,7 +42,7 @@ namespace SceneUtil
|
||||
private:
|
||||
std::vector<BlendRule> mRules;
|
||||
|
||||
inline bool fitsRuleString(const std::string_view& str, const std::string_view& ruleStr) const;
|
||||
inline bool fitsRuleString(const std::string_view str, const std::string_view ruleStr) const;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user