source: Pass cm::string_view by value

This commit is contained in:
Daniel Pfeifer
2025-07-15 17:55:47 +02:00
committed by Brad King
parent 1c3300998f
commit 0c4040057a
10 changed files with 34 additions and 32 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ protected:
std::string GetInstallPrefix() const
{
cm::string_view const& prefixWithSlash = this->GetImportPrefixWithSlash();
cm::string_view const prefixWithSlash = this->GetImportPrefixWithSlash();
return std::string(prefixWithSlash.data(), prefixWithSlash.length() - 1);
}
virtual char GetConfigFileNameSeparator() const = 0;