From c655968f91ca6b74b91219d08cf3e8f16c7d45d5 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Fri, 10 May 2024 14:17:02 +0800 Subject: Remove reference and const qualifier from skindir This is so it doesn't throw an error about the instance not being able to run the replace function, for example, on a certain platform. If it's found out later that this causes problems, then make it exceptional only for that certain platform. --- indra/llfilesystem/lldir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp index dfb5f6dd2c..b3e7e78cc7 100644 --- a/indra/llfilesystem/lldir.cpp +++ b/indra/llfilesystem/lldir.cpp @@ -690,7 +690,7 @@ void LLDir::walkSearchSkinDirs(const std::string& subdir, const std::string& filename, const FUNCTION& function) const { - for (const std::string& skindir : mSearchSkinDirs) + for (std::string skindir : mSearchSkinDirs) { std::string subdir_path(add(skindir, subdir)); for (const std::string& subsubdir : subsubdirs) -- cgit v1.2.3